pub enum PanicAction {
Pause,
Shutdown,
ExitFailure,
None,
}Expand description
QEMU panic= actions for -action.
Variants§
Trait Implementations§
Source§impl Arbitrary for PanicAction
impl Arbitrary for PanicAction
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() -> PanicAction>), (u32, Arc<fn() -> PanicAction>), (u32, Arc<fn() -> PanicAction>), (u32, Arc<fn() -> PanicAction>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> PanicAction>), (u32, Arc<fn() -> PanicAction>), (u32, Arc<fn() -> PanicAction>), (u32, Arc<fn() -> PanicAction>))>
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 PanicAction
impl Clone for PanicAction
Source§fn clone(&self) -> PanicAction
fn clone(&self) -> PanicAction
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 PanicAction
impl Debug for PanicAction
Source§impl Default for PanicAction
impl Default for PanicAction
Source§fn default() -> PanicAction
fn default() -> PanicAction
Returns the “default value” for a type. Read more
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 for PanicAction
impl PartialEq for PanicAction
Source§impl PartialOrd for PanicAction
impl PartialOrd for PanicAction
impl Eq for PanicAction
impl StructuralPartialEq for PanicAction
Auto Trait Implementations§
impl Freeze for PanicAction
impl RefUnwindSafe for PanicAction
impl Send for PanicAction
impl Sync for PanicAction
impl Unpin for PanicAction
impl UnsafeUnpin 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