[][src]Struct ttstack::model::EnvState

pub struct EnvState {
    pub is_stopped: bool,
    pub deny_outgoing: bool,
    pub last_mgmt_timestamp: u64,
}

Info about the state of ENV.

Fields

is_stopped: bool

Whether this ENV is stopped.

deny_outgoing: bool

Whether all VMs of this ENV are denied to connect to Internet.

last_mgmt_timestamp: u64

The 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.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.