pub struct Bind {
pub source: CString,
pub target: CString,
}Expand description
Represents a bind mount. Can be converted into a Mount.
Fields§
§source: CStringThe source path of the bind mount. This path must exist. It can be either a file or directory.
target: CStringThe target of the bind mount. This does not need to exist and can be created when performing the bind mount.
Implementations§
Trait Implementations§
impl Eq for Bind
impl StructuralPartialEq for Bind
Auto Trait Implementations§
impl Freeze for Bind
impl RefUnwindSafe for Bind
impl Send for Bind
impl Sync for Bind
impl Unpin for Bind
impl UnsafeUnpin for Bind
impl UnwindSafe for Bind
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