pub enum RebootAction {
Reset,
Shutdown,
}Expand description
QEMU reboot= actions for -action.
Variants§
Trait Implementations§
Source§impl Arbitrary for RebootAction
impl Arbitrary for RebootAction
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() -> RebootAction>), (u32, Arc<fn() -> RebootAction>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> RebootAction>), (u32, Arc<fn() -> RebootAction>))>
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 RebootAction
impl Clone for RebootAction
Source§fn clone(&self) -> RebootAction
fn clone(&self) -> RebootAction
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 RebootAction
impl Debug for RebootAction
Source§impl Default for RebootAction
impl Default for RebootAction
Source§fn default() -> RebootAction
fn default() -> RebootAction
Returns the “default value” for a type. Read more
Source§impl FromStr for RebootAction
impl FromStr for RebootAction
Source§impl Hash for RebootAction
impl Hash for RebootAction
Source§impl Ord for RebootAction
impl Ord for RebootAction
Source§fn cmp(&self, other: &RebootAction) -> Ordering
fn cmp(&self, other: &RebootAction) -> 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 RebootAction
impl PartialEq for RebootAction
Source§impl PartialOrd for RebootAction
impl PartialOrd for RebootAction
impl Eq for RebootAction
impl StructuralPartialEq for RebootAction
Auto Trait Implementations§
impl Freeze for RebootAction
impl RefUnwindSafe for RebootAction
impl Send for RebootAction
impl Sync for RebootAction
impl Unpin for RebootAction
impl UnsafeUnpin for RebootAction
impl UnwindSafe for RebootAction
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