pub enum MachineState {
Created,
Starting,
Started,
Stopping,
Stopped,
Destroying,
Destroyed,
Suspending,
Suspended,
}Variants§
Trait Implementations§
Source§impl Clone for MachineState
impl Clone for MachineState
Source§fn clone(&self) -> MachineState
fn clone(&self) -> MachineState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MachineState
impl Debug for MachineState
Source§impl<'de> Deserialize<'de> for MachineState
impl<'de> Deserialize<'de> for MachineState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MachineState
impl PartialEq for MachineState
Source§fn eq(&self, other: &MachineState) -> bool
fn eq(&self, other: &MachineState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MachineState
impl Serialize for MachineState
impl StructuralPartialEq for MachineState
Auto Trait Implementations§
impl Freeze for MachineState
impl RefUnwindSafe for MachineState
impl Send for MachineState
impl Sync for MachineState
impl Unpin for MachineState
impl UnsafeUnpin for MachineState
impl UnwindSafe for MachineState
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