[][src]Struct ttstack::model::VmState

pub struct VmState {
    pub during_stop: bool,
    pub keep_image: bool,
    pub rand_uuid: bool,
    pub outgoing_blacklist: Vec<NetAddr>,
}

Info about the state of VM.

Fields

during_stop: bool

Whether has been stopped.

keep_image: bool

Whether keep image NOT to be destroyed, when the life cycle of Vm ends.

rand_uuid: bool

Whether generate a random uuid for this VM, if NOT, user may not to get machine-id of the VM.

outgoing_blacklist: Vec<NetAddr>

VM can NOT connect to the addrs in this list.

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.