mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-12-03 02:25:10 +08:00
15 lines
259 B
Rust
15 lines
259 B
Rust
use tokio::sync::oneshot;
|
|
|
|
use super::error::Result;
|
|
use super::DumpInfo;
|
|
|
|
pub enum DumpMsg {
|
|
CreateDump {
|
|
ret: oneshot::Sender<Result<DumpInfo>>,
|
|
},
|
|
DumpInfo {
|
|
uid: String,
|
|
ret: oneshot::Sender<Result<DumpInfo>>,
|
|
},
|
|
}
|