#[repr(u8)]pub enum DomainState {
NoState = 0,
Running = 1,
Blocked = 2,
Paused = 3,
Shutdown = 4,
Shutoff = 5,
Crashed = 6,
PmSuspended = 7,
}
Variants§
NoState = 0
no state
Running = 1
the domain is running
Blocked = 2
the domain is blocked on resource
Paused = 3
the domain is paused by user
Shutdown = 4
the domain is being shut down
Shutoff = 5
the domain is shut off
Crashed = 6
the domain is crashed
PmSuspended = 7
the domain is suspended by guest power management
Trait Implementations§
Source§impl Debug for DomainState
impl Debug for DomainState
Auto Trait Implementations§
impl Freeze for DomainState
impl RefUnwindSafe for DomainState
impl Send for DomainState
impl Sync for DomainState
impl Unpin for DomainState
impl UnwindSafe for DomainState
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