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