meilisearch/meilisearch-http/src/index_controller/dump_actor/message.rs
2021-06-21 10:59:38 +02:00

15 lines
259 B
Rust

use tokio::sync::oneshot;
use super::DumpInfo;
use super::error::Result;
pub enum DumpMsg {
CreateDump {
ret: oneshot::Sender<Result<DumpInfo>>,
},
DumpInfo {
uid: String,
ret: oneshot::Sender<Result<DumpInfo>>,
},
}