Struct oci_spec::runtime::VMKernelBuilder
source · 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