pub struct BindOptions {
pub create_mountpoint: Option<bool>,
pub non_recursive: Option<bool>,
pub propagation: Option<String>,
pub read_only_force_recursive: Option<bool>,
pub read_only_non_recursive: Option<bool>,
}
Available on crate feature
v5
only.Expand description
BindOptions defines options specific to mounts of type “bind”.
Fields§
§create_mountpoint: Option<bool>
§non_recursive: Option<bool>
§propagation: Option<String>
§read_only_force_recursive: Option<bool>
ReadOnlyForceRecursive raises an error if the mount cannot be made recursively read-only.
read_only_non_recursive: Option<bool>
ReadOnlyNonRecursive makes the mount non-recursively read-only, but still leaves the mount recursive (unless NonRecursive is set to true in conjunction).
Trait Implementations§
Source§impl Debug for BindOptions
impl Debug for BindOptions
Source§impl Default for BindOptions
impl Default for BindOptions
Source§fn default() -> BindOptions
fn default() -> BindOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BindOptions
impl<'de> Deserialize<'de> for BindOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BindOptions
impl RefUnwindSafe for BindOptions
impl Send for BindOptions
impl Sync for BindOptions
impl Unpin for BindOptions
impl UnwindSafe for BindOptions
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