pub enum SandboxState {
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 SandboxState
impl Clone for SandboxState
impl Copy for SandboxState
Source§impl Debug for SandboxState
impl Debug for SandboxState
Source§impl Display for SandboxState
impl Display for SandboxState
impl Eq for SandboxState
Source§impl PartialEq for SandboxState
impl PartialEq for SandboxState
impl StructuralPartialEq for SandboxState
Auto Trait Implementations§
impl Freeze for SandboxState
impl RefUnwindSafe for SandboxState
impl Send for SandboxState
impl Sync for SandboxState
impl Unpin for SandboxState
impl UnsafeUnpin for SandboxState
impl UnwindSafe for SandboxState
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.