pub enum WatchdogAction {
Reset,
Shutdown,
PowerOff,
InjectNmi,
Pause,
Debug,
None,
}Expand description
QEMU watchdog= actions for -action and -watchdog-action.
Variants§
Trait Implementations§
Source§impl Arbitrary for WatchdogAction
impl Arbitrary for WatchdogAction
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>), (u32, Arc<fn() -> WatchdogAction>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for WatchdogAction
impl Clone for WatchdogAction
Source§fn clone(&self) -> WatchdogAction
fn clone(&self) -> WatchdogAction
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 WatchdogAction
impl Debug for WatchdogAction
Source§impl Default for WatchdogAction
impl Default for WatchdogAction
Source§fn default() -> WatchdogAction
fn default() -> WatchdogAction
Returns the “default value” for a type. Read more
Source§impl FromStr for WatchdogAction
impl FromStr for WatchdogAction
Source§impl Hash for WatchdogAction
impl Hash for WatchdogAction
Source§impl Ord for WatchdogAction
impl Ord for WatchdogAction
Source§fn cmp(&self, other: &WatchdogAction) -> Ordering
fn cmp(&self, other: &WatchdogAction) -> 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 WatchdogAction
impl PartialEq for WatchdogAction
Source§impl PartialOrd for WatchdogAction
impl PartialOrd for WatchdogAction
impl Eq for WatchdogAction
impl StructuralPartialEq for WatchdogAction
Auto Trait Implementations§
impl Freeze for WatchdogAction
impl RefUnwindSafe for WatchdogAction
impl Send for WatchdogAction
impl Sync for WatchdogAction
impl Unpin for WatchdogAction
impl UnsafeUnpin for WatchdogAction
impl UnwindSafe for WatchdogAction
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