pub enum MountOptFields {
Shared(u32),
Master(u32),
PropagateFrom(u32),
Unbindable,
}
Expand description
Optional fields used in MountInfo
Variants§
This mount point is shared in peer group. Each peer group has a unique ID that is automatically generated by the kernel, and all mount points in the same peer group will show the same ID
Master(u32)
THis mount is a slave to the specified shared peer group.
PropagateFrom(u32)
This mount is a slave and receives propagation from the shared peer group
Unbindable
This is an unbindable mount
Trait Implementations§
source§impl Clone for MountOptFields
impl Clone for MountOptFields
source§fn clone(&self) -> MountOptFields
fn clone(&self) -> MountOptFields
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MountOptFields
impl Debug for MountOptFields
source§impl<'de> Deserialize<'de> for MountOptFields
impl<'de> Deserialize<'de> for MountOptFields
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 MountOptFields
impl RefUnwindSafe for MountOptFields
impl Send for MountOptFields
impl Sync for MountOptFields
impl Unpin for MountOptFields
impl UnwindSafe for MountOptFields
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)