pub enum AutoNeverAlways {
Auto,
Never,
Always,
}Expand description
A QEMU policy value encoded as "auto", "never", or "always".
Variants§
Trait Implementations§
Source§impl Arbitrary for AutoNeverAlways
impl Arbitrary for AutoNeverAlways
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() -> AutoNeverAlways>), (u32, Arc<fn() -> AutoNeverAlways>), (u32, Arc<fn() -> AutoNeverAlways>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> AutoNeverAlways>), (u32, Arc<fn() -> AutoNeverAlways>), (u32, Arc<fn() -> AutoNeverAlways>))>
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 AutoNeverAlways
impl Clone for AutoNeverAlways
Source§fn clone(&self) -> AutoNeverAlways
fn clone(&self) -> AutoNeverAlways
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 AutoNeverAlways
impl Debug for AutoNeverAlways
Source§impl Hash for AutoNeverAlways
impl Hash for AutoNeverAlways
Source§impl Ord for AutoNeverAlways
impl Ord for AutoNeverAlways
Source§fn cmp(&self, other: &AutoNeverAlways) -> Ordering
fn cmp(&self, other: &AutoNeverAlways) -> 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 AutoNeverAlways
impl PartialEq for AutoNeverAlways
Source§impl PartialOrd for AutoNeverAlways
impl PartialOrd for AutoNeverAlways
impl Eq for AutoNeverAlways
impl StructuralPartialEq for AutoNeverAlways
Auto Trait Implementations§
impl Freeze for AutoNeverAlways
impl RefUnwindSafe for AutoNeverAlways
impl Send for AutoNeverAlways
impl Sync for AutoNeverAlways
impl Unpin for AutoNeverAlways
impl UnsafeUnpin for AutoNeverAlways
impl UnwindSafe for AutoNeverAlways
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