pub enum LifecycleCommand {
Start {
reply: Sender<Result<()>>,
},
Stop {
reason: ShutdownKind,
reply: Sender<Result<()>>,
},
FireAlarm {
reply: Sender<Result<()>>,
},
}Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for LifecycleCommand
impl !UnwindSafe for LifecycleCommand
impl Freeze for LifecycleCommand
impl Send for LifecycleCommand
impl Sync for LifecycleCommand
impl Unpin for LifecycleCommand
impl UnsafeUnpin for LifecycleCommand
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