pub struct VmBuilder { /* private fields */ }
Expand description
Builder for Vm
.
Implementations§
Source§impl VmBuilder
impl VmBuilder
Sourcepub fn hypervisor<VALUE: Into<Option<Hypervisor>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn hypervisor<VALUE: Into<Option<Hypervisor>>>( &mut self, value: VALUE, ) -> &mut Self
hypervisor config used by VM-based containers
Sourcepub fn image<VALUE: Into<Option<Image>>>(&mut self, value: VALUE) -> &mut Self
pub fn image<VALUE: Into<Option<Image>>>(&mut self, value: VALUE) -> &mut Self
root image config used by VM-based containers
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VmBuilder
impl RefUnwindSafe for VmBuilder
impl Send for VmBuilder
impl Sync for VmBuilder
impl Unpin for VmBuilder
impl UnwindSafe for VmBuilder
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