pub struct VMHypervisorBuilder { /* private fields */ }
Expand description
Builder for VMHypervisor
.
Implementations§
Source§impl VMHypervisorBuilder
impl VMHypervisorBuilder
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 hypervisor used to manage 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 hypervisor.
Sourcepub fn build(self) -> Result<VMHypervisor, OciSpecError>
pub fn build(self) -> Result<VMHypervisor, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VMHypervisorBuilder
impl RefUnwindSafe for VMHypervisorBuilder
impl Send for VMHypervisorBuilder
impl Sync for VMHypervisorBuilder
impl Unpin for VMHypervisorBuilder
impl UnwindSafe for VMHypervisorBuilder
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