pub struct Binding {
pub host: Vec<u8>,
pub guest: Vec<u8>,
pub read_only: bool,
}Expand description
One bind mount: the host path visible at guest inside the guest root.
Fields§
§host: Vec<u8>Absolute host path, without a trailing slash (except for /).
guest: Vec<u8>Absolute guest path, without a trailing slash (except for /).
read_only: boolWhether writes through this binding are refused with EROFS.
Trait Implementations§
impl Eq for Binding
impl StructuralPartialEq for Binding
Auto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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