pub struct BindMount {
pub source: PathBuf,
pub target: PathBuf,
pub readonly: bool,
pub dev_null: bool,
}Expand description
Bind mount specification.
Fields§
§source: PathBufSource path on host.
target: PathBufTarget path in sandbox (usually same as source).
readonly: boolWhether the mount is read-only.
dev_null: boolWhether to create the path with dev-null if it doesn’t exist.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindMount
impl RefUnwindSafe for BindMount
impl Send for BindMount
impl Sync for BindMount
impl Unpin for BindMount
impl UnwindSafe for BindMount
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