pub enum GuestPanicAction {
pause,
poweroff,
run,
}
Variants§
Trait Implementations§
Source§impl Clone for GuestPanicAction
impl Clone for GuestPanicAction
Source§fn clone(&self) -> GuestPanicAction
fn clone(&self) -> GuestPanicAction
Returns a duplicate 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 GuestPanicAction
impl Debug for GuestPanicAction
Source§impl<'de> Deserialize<'de> for GuestPanicAction
impl<'de> Deserialize<'de> for GuestPanicAction
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 GuestPanicAction
impl Enum for GuestPanicAction
Source§impl FromStr for GuestPanicAction
impl FromStr for GuestPanicAction
Source§impl Hash for GuestPanicAction
impl Hash for GuestPanicAction
Source§impl Ord for GuestPanicAction
impl Ord for GuestPanicAction
Source§fn cmp(&self, other: &GuestPanicAction) -> Ordering
fn cmp(&self, other: &GuestPanicAction) -> 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 for GuestPanicAction
impl PartialEq for GuestPanicAction
Source§impl PartialOrd for GuestPanicAction
impl PartialOrd for GuestPanicAction
Source§impl Serialize for GuestPanicAction
impl Serialize for GuestPanicAction
impl Copy for GuestPanicAction
impl Eq for GuestPanicAction
impl StructuralPartialEq for GuestPanicAction
Auto Trait Implementations§
impl Freeze for GuestPanicAction
impl RefUnwindSafe for GuestPanicAction
impl Send for GuestPanicAction
impl Sync for GuestPanicAction
impl Unpin for GuestPanicAction
impl UnwindSafe for GuestPanicAction
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