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