pub struct VMKernelBuilder { /* private fields */ }
Expand description
Builder for VMKernel
.
Implementations§
Source§impl VMKernelBuilder
impl VMKernelBuilder
Sourcepub fn path<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
pub fn path<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
Path is the host path to the kernel used to boot the virtual machine.
Sourcepub fn parameters<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
pub fn parameters<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
Parameters specifies parameters to pass to the kernel.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VMKernelBuilder
impl RefUnwindSafe for VMKernelBuilder
impl Send for VMKernelBuilder
impl Sync for VMKernelBuilder
impl Unpin for VMKernelBuilder
impl UnwindSafe for VMKernelBuilder
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