pub enum ShutdownFlags {
Request,
Regardless,
Immediate,
}Expand description
Flags for try_shutdown
Variants§
Request
Request shutdown (other daemons will be consulted)
Regardless
Tells other daemons but ignore their opinions
Immediate
Go down straight away (but still tell other nodes)
Auto Trait Implementations§
impl Freeze for ShutdownFlags
impl RefUnwindSafe for ShutdownFlags
impl Send for ShutdownFlags
impl Sync for ShutdownFlags
impl Unpin for ShutdownFlags
impl UnwindSafe for ShutdownFlags
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