use std::path::PathBuf; use tokio::sync::oneshot; use uuid::Uuid; use super::Result; pub enum UuidResolveMsg { Get { uid: String, ret: oneshot::Sender>, }, Create { uid: String, ret: oneshot::Sender>, }, Delete { uid: String, ret: oneshot::Sender>, }, List { ret: oneshot::Sender>>, }, Insert { uuid: Uuid, name: String, ret: oneshot::Sender>, }, SnapshotRequest { path: PathBuf, ret: oneshot::Sender>>, }, }