pub enum MicrovmState {
Created,
Ready,
Running,
Destroyed,
}Expand description
Lifecycle state of a MicrovmSandbox.
Variants§
Created
Instance has been created but is not yet executable.
Ready
Instance is ready to execute commands or file operations.
Running
Instance is currently executing a command or transferring data.
Destroyed
Instance has been destroyed and cannot be reused.
Trait Implementations§
Source§impl Clone for MicrovmState
impl Clone for MicrovmState
Source§fn clone(&self) -> MicrovmState
fn clone(&self) -> MicrovmState
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 MicrovmState
impl Debug for MicrovmState
Source§impl PartialEq for MicrovmState
impl PartialEq for MicrovmState
impl Copy for MicrovmState
impl Eq for MicrovmState
impl StructuralPartialEq for MicrovmState
Auto Trait Implementations§
impl Freeze for MicrovmState
impl RefUnwindSafe for MicrovmState
impl Send for MicrovmState
impl Sync for MicrovmState
impl Unpin for MicrovmState
impl UnsafeUnpin for MicrovmState
impl UnwindSafe for MicrovmState
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