Enum xen::scheduler::ShutdownReason
source · [−]pub enum ShutdownReason {
Poweroff,
Reboot,
Suspend,
Crash,
Watchdog,
}
Expand description
Reasons for Command::Shutdown
Variants
Poweroff
“Domain exited normally. Clean up and kill.”
Reboot
“Clean up, kill, and then restart.”
Suspend
“Clean up, save suspend info, kill.”
Crash
“Tell controller we’ve crashed.”
Watchdog
“Restart because watchdog time expired.”
Auto Trait Implementations
impl RefUnwindSafe for ShutdownReason
impl Send for ShutdownReason
impl Sync for ShutdownReason
impl Unpin for ShutdownReason
impl UnwindSafe for ShutdownReason
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more