Enum qapi_qmp::ShutdownCause
source · pub enum ShutdownCause {
none,
host_error,
host_qmp_quit,
host_qmp_system_reset,
host_signal,
host_ui,
guest_shutdown,
guest_reset,
guest_panic,
subsystem_reset,
snapshot_load,
}
Variants§
none
host_error
host_qmp_quit
host_qmp_system_reset
host_signal
host_ui
guest_shutdown
guest_reset
guest_panic
subsystem_reset
snapshot_load
Trait Implementations§
source§impl Clone for ShutdownCause
impl Clone for ShutdownCause
source§fn clone(&self) -> ShutdownCause
fn clone(&self) -> ShutdownCause
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShutdownCause
impl Debug for ShutdownCause
source§impl<'de> Deserialize<'de> for ShutdownCause
impl<'de> Deserialize<'de> for ShutdownCause
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Enum for ShutdownCause
impl Enum for ShutdownCause
source§impl FromStr for ShutdownCause
impl FromStr for ShutdownCause
source§impl Hash for ShutdownCause
impl Hash for ShutdownCause
source§impl Ord for ShutdownCause
impl Ord for ShutdownCause
source§fn cmp(&self, other: &ShutdownCause) -> Ordering
fn cmp(&self, other: &ShutdownCause) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ShutdownCause> for ShutdownCause
impl PartialEq<ShutdownCause> for ShutdownCause
source§fn eq(&self, other: &ShutdownCause) -> bool
fn eq(&self, other: &ShutdownCause) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ShutdownCause> for ShutdownCause
impl PartialOrd<ShutdownCause> for ShutdownCause
source§fn partial_cmp(&self, other: &ShutdownCause) -> Option<Ordering>
fn partial_cmp(&self, other: &ShutdownCause) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ShutdownCause
impl Serialize for ShutdownCause
impl Copy for ShutdownCause
impl Eq for ShutdownCause
impl StructuralEq for ShutdownCause
impl StructuralPartialEq for ShutdownCause
Auto Trait Implementations§
impl RefUnwindSafe for ShutdownCause
impl Send for ShutdownCause
impl Sync for ShutdownCause
impl Unpin for ShutdownCause
impl UnwindSafe for ShutdownCause
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