pub struct VMBuilder { /* private fields */ }
Expand description
Builder for VM
.
Implementations§
Source§impl VMBuilder
impl VMBuilder
Sourcepub fn hypervisor<VALUE: Into<VMHypervisor>>(self, value: VALUE) -> Self
pub fn hypervisor<VALUE: Into<VMHypervisor>>(self, value: VALUE) -> Self
Hypervisor specifies hypervisor-related configuration for virtual-machine-based containers.
Sourcepub fn kernel<VALUE: Into<VMKernel>>(self, value: VALUE) -> Self
pub fn kernel<VALUE: Into<VMKernel>>(self, value: VALUE) -> Self
Kernel specifies kernel-related configuration for virtual-machine-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