pub struct EnvState {
pub is_stopped: bool,
pub deny_outgoing: bool,
pub last_mgmt_timestamp: u64,
}Expand description
Info about the state of ENV.
Fields§
§is_stopped: boolWhether this ENV is stopped.
deny_outgoing: boolIf true, all VMs of this ENV are denied to Internet.
last_mgmt_timestamp: u64The timestamp of the lastest manage-operation, such as ‘stop/start/snapshot…’.
This kind of operation can NOT be called frequently, because them will take a long time to complete.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvState
impl RefUnwindSafe for EnvState
impl Send for EnvState
impl Sync for EnvState
impl Unpin for EnvState
impl UnwindSafe for EnvState
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