pub enum PartitionState {
Created,
Running,
Suspended,
Destroyed,
Hibernated,
}Expand description
Partition lifecycle state.
Variants§
Created
Created but not yet running.
Running
Actively running.
Suspended
Suspended (all vCPUs paused).
Destroyed
Destroyed and resources reclaimed.
Hibernated
Hibernated to cold storage.
Trait Implementations§
Source§impl Clone for PartitionState
impl Clone for PartitionState
Source§fn clone(&self) -> PartitionState
fn clone(&self) -> PartitionState
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 moreimpl Copy for PartitionState
Source§impl Debug for PartitionState
impl Debug for PartitionState
impl Eq for PartitionState
Source§impl PartialEq for PartitionState
impl PartialEq for PartitionState
impl StructuralPartialEq for PartitionState
Auto Trait Implementations§
impl Freeze for PartitionState
impl RefUnwindSafe for PartitionState
impl Send for PartitionState
impl Sync for PartitionState
impl Unpin for PartitionState
impl UnsafeUnpin for PartitionState
impl UnwindSafe for PartitionState
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