pub enum VmStatus {
Stopped,
Running {
pid: u32,
qemu_status: String,
},
Stale {
pid: u32,
},
}Expand description
Observable VM state.
Variants§
Stopped
No process is associated with the definition.
Running
QEMU answered a QMP status query.
Stale
State exists but QEMU cannot be reached.
Trait Implementations§
impl Eq for VmStatus
impl StructuralPartialEq for VmStatus
Auto Trait Implementations§
impl Forget for VmStatus
impl Freeze for VmStatus
impl Move for VmStatus
impl RefUnwindSafe for VmStatus
impl Send for VmStatuswhere
RawVecInner: Send,
impl Sync for VmStatuswhere
RawVecInner: Sync,
impl Unpin for VmStatus
impl UnsafeUnpin for VmStatus
impl UnwindSafe for VmStatuswhere
RawVecInner: UnwindSafe,
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