pub enum MountRecursive {
Rdonly(bool, u64),
Nosuid(bool, u64),
Nodev(bool, u64),
Noexec(bool, u64),
Atime(bool, u64),
Relatime(bool, u64),
Noatime(bool, u64),
StrictAtime(bool, u64),
NoDiratime(bool, u64),
Nosymfollow(bool, u64),
}Expand description
Constants used by mount_setattr(2).
Variants§
Rdonly(bool, u64)
Mount read-only.
Nosuid(bool, u64)
Ignore suid and sgid bits.
Nodev(bool, u64)
Disallow access to device special files.
Noexec(bool, u64)
Disallow program execution.
Atime(bool, u64)
Setting on how atime should be updated.
Relatime(bool, u64)
Update atime relative to mtime/ctime.
Noatime(bool, u64)
Do not update access times.
StrictAtime(bool, u64)
Always perform atime updates.
NoDiratime(bool, u64)
Do not update directory access times.
Nosymfollow(bool, u64)
Prevents following symbolic links.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MountRecursive
impl RefUnwindSafe for MountRecursive
impl Send for MountRecursive
impl Sync for MountRecursive
impl Unpin for MountRecursive
impl UnsafeUnpin for MountRecursive
impl UnwindSafe for MountRecursive
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more