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

pub struct VmState {
    pub during_stop: bool,
    pub keep_image: bool,
    pub rand_uuid: bool,
    pub net_blacklist: Vec<IpAddr>,
}

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, machine-id of the VM may be empty.

net_blacklist: Vec<IpAddr>

VM can NOT connect to the addrs in this list.

Trait Implementations

impl Debug for VmState[src]

impl Default for VmState[src]

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.