Enum qapi_qmp::PanicAction
source · pub enum PanicAction {
pause,
shutdown,
exit_failure,
none,
}
Variants§
Trait Implementations§
source§impl Clone for PanicAction
impl Clone for PanicAction
source§fn clone(&self) -> PanicAction
fn clone(&self) -> PanicAction
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 PanicAction
impl Debug for PanicAction
source§impl<'de> Deserialize<'de> for PanicAction
impl<'de> Deserialize<'de> for PanicAction
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 PanicAction
impl Enum for PanicAction
source§impl FromStr for PanicAction
impl FromStr for PanicAction
source§impl Hash for PanicAction
impl Hash for PanicAction
source§impl Ord for PanicAction
impl Ord for PanicAction
source§fn cmp(&self, other: &PanicAction) -> Ordering
fn cmp(&self, other: &PanicAction) -> 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<PanicAction> for PanicAction
impl PartialEq<PanicAction> for PanicAction
source§fn eq(&self, other: &PanicAction) -> bool
fn eq(&self, other: &PanicAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PanicAction> for PanicAction
impl PartialOrd<PanicAction> for PanicAction
source§fn partial_cmp(&self, other: &PanicAction) -> Option<Ordering>
fn partial_cmp(&self, other: &PanicAction) -> 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 PanicAction
impl Serialize for PanicAction
impl Copy for PanicAction
impl Eq for PanicAction
impl StructuralEq for PanicAction
impl StructuralPartialEq for PanicAction
Auto Trait Implementations§
impl RefUnwindSafe for PanicAction
impl Send for PanicAction
impl Sync for PanicAction
impl Unpin for PanicAction
impl UnwindSafe for PanicAction
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