pub enum ComputerState {
Starting,
Ready,
Running,
Stopping,
Stopped,
Failed,
Pausing,
Paused,
}Expand description
Lifecycle state of a sandbox.
Variants§
Starting
VMM prepared; VM still booting.
Ready
VM booted and ready to accept workloads (or last workload exited).
Running
A workload (cmd / Run) is currently executing inside the VM.
Stopping
Stop called; draining workload and shutting down VM.
Stopped
VM has shut down cleanly.
Failed
Unrecoverable error occurred.
Pausing
Pause called; checkpointing state, then releasing the VM.
Paused
Checkpointed to disk with runtime resources released; the record,
checkpoint, and disk overlay survive under the same id until
Resume or Remove (CORE-21).
Trait Implementations§
Source§impl Clone for ComputerState
impl Clone for ComputerState
impl Copy for ComputerState
Source§impl Debug for ComputerState
impl Debug for ComputerState
Source§impl Display for ComputerState
impl Display for ComputerState
impl Eq for ComputerState
Source§impl PartialEq for ComputerState
impl PartialEq for ComputerState
impl StructuralPartialEq for ComputerState
Auto Trait Implementations§
impl Freeze for ComputerState
impl RefUnwindSafe for ComputerState
impl Send for ComputerState
impl Sync for ComputerState
impl Unpin for ComputerState
impl UnsafeUnpin for ComputerState
impl UnwindSafe for ComputerState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.