meilisearch/meilisearch-lib/src/index_controller/dump_actor/message.rs

15 lines
259 B
Rust
Raw Normal View History

2021-05-11 02:25:09 +08:00
use tokio::sync::oneshot;
use super::error::Result;
2021-06-15 23:39:07 +08:00
use super::DumpInfo;
2021-05-11 02:25:09 +08:00
pub enum DumpMsg {
CreateDump {
ret: oneshot::Sender<Result<DumpInfo>>,
2021-05-11 02:25:09 +08:00
},
DumpInfo {
uid: String,
ret: oneshot::Sender<Result<DumpInfo>>,
2021-05-11 02:25:09 +08:00
},
}