pub enum NotifyVMExit {
Run(Option<usize>),
InternalError,
Disable,
}Expand description
QEMU notify-vmexit= values.
The run mode may also carry the companion notify-window= property.
Variants§
Trait Implementations§
Source§impl Arbitrary for NotifyVMExit
impl Arbitrary for NotifyVMExit
Source§type Parameters = <Option<usize> as Arbitrary>::Parameters
type Parameters = <Option<usize> as Arbitrary>::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<Map<<Option<usize> as Arbitrary>::Strategy, fn(Option<usize>) -> NotifyVMExit>>), (u32, Arc<fn() -> NotifyVMExit>), (u32, Arc<fn() -> NotifyVMExit>))>
type Strategy = TupleUnion<((u32, Arc<Map<<Option<usize> as Arbitrary>::Strategy, fn(Option<usize>) -> NotifyVMExit>>), (u32, Arc<fn() -> NotifyVMExit>), (u32, Arc<fn() -> NotifyVMExit>))>
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 NotifyVMExit
impl Clone for NotifyVMExit
Source§fn clone(&self) -> NotifyVMExit
fn clone(&self) -> NotifyVMExit
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 NotifyVMExit
impl Debug for NotifyVMExit
Source§impl Display for NotifyVMExit
impl Display for NotifyVMExit
Source§impl FromStr for NotifyVMExit
impl FromStr for NotifyVMExit
Source§impl Hash for NotifyVMExit
impl Hash for NotifyVMExit
Source§impl Ord for NotifyVMExit
impl Ord for NotifyVMExit
Source§fn cmp(&self, other: &NotifyVMExit) -> Ordering
fn cmp(&self, other: &NotifyVMExit) -> 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 NotifyVMExit
impl PartialEq for NotifyVMExit
Source§impl PartialOrd for NotifyVMExit
impl PartialOrd for NotifyVMExit
impl Eq for NotifyVMExit
impl StructuralPartialEq for NotifyVMExit
Auto Trait Implementations§
impl Freeze for NotifyVMExit
impl RefUnwindSafe for NotifyVMExit
impl Send for NotifyVMExit
impl Sync for NotifyVMExit
impl Unpin for NotifyVMExit
impl UnsafeUnpin for NotifyVMExit
impl UnwindSafe for NotifyVMExit
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