pub struct VmState {
pub during_stop: bool,
pub keep_image: bool,
pub rand_uuid: bool,
pub net_blacklist: Vec<IpAddr>,
}Expand description
Info about the state of VM.
Fields§
§during_stop: boolWhether has been stopped.
keep_image: boolWhether keep image NOT to be destroyed,
when the life cycle of Vm ends.
rand_uuid: boolWhether 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§
Auto Trait Implementations§
impl Freeze for VmState
impl RefUnwindSafe for VmState
impl Send for VmState
impl Sync for VmState
impl Unpin for VmState
impl UnwindSafe for VmState
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