pub enum ControlMsg {
Stop {
reason: StopSignalReason,
},
ExitSignal {
from: Pid,
reason: ExitReason,
},
Down {
monitor_id: MonitorId,
pid: Pid,
reason: ExitReason,
},
LeaseLost {
registry_id: String,
shard_id: usize,
epoch: u64,
},
GetSnapshot {
reply: Sender<Result<Option<Vec<u8>>, SnapshotError>>,
},
Ping {
reply: Sender<()>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ControlMsg
impl !RefUnwindSafe for ControlMsg
impl Send for ControlMsg
impl Sync for ControlMsg
impl Unpin for ControlMsg
impl UnsafeUnpin for ControlMsg
impl !UnwindSafe for ControlMsg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more