Struct oci_spec::runtime::MountBuilder
source · pub struct MountBuilder { /* private fields */ }
Expand description
Builder for Mount
.
Implementations§
source§impl MountBuilder
impl MountBuilder
sourcepub fn destination<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
pub fn destination<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
Destination is the absolute path where the mount will be placed in the container.
sourcepub fn source<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
pub fn source<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
Source specifies the source path of the mount.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MountBuilder
impl RefUnwindSafe for MountBuilder
impl Send for MountBuilder
impl Sync for MountBuilder
impl Unpin for MountBuilder
impl UnwindSafe for MountBuilder
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