pub enum ExportFlags {
Show 18 variants
Readonly = 1,
InsecurePort = 2,
Rootsquash = 4,
Allsquash = 8,
Async = 16,
GatheredWrites = 32,
Noreaddirplus = 64,
SecurityLabel = 128,
SignFh = 256,
Nohide = 512,
Nosubtreecheck = 1_024,
Noauthnlm = 2_048,
Msnfs = 4_096,
Fsid = 8_192,
Crossmount = 16_384,
Noacl = 32_768,
V4root = 65_536,
Pnfs = 131_072,
}Available on crate feature
nfsd only.Expand description
These flags are ordered to match the NFSEXP* flags in include/linux/nfsd/export.h Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
Variants§
Readonly = 1
InsecurePort = 2
Rootsquash = 4
Allsquash = 8
Async = 16
GatheredWrites = 32
Noreaddirplus = 64
SecurityLabel = 128
SignFh = 256
Nohide = 512
Nosubtreecheck = 1_024
Noauthnlm = 2_048
Msnfs = 4_096
Fsid = 8_192
Crossmount = 16_384
Noacl = 32_768
V4root = 65_536
Pnfs = 131_072
Implementations§
Source§impl ExportFlags
impl ExportFlags
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for ExportFlags
impl Clone for ExportFlags
Source§fn clone(&self) -> ExportFlags
fn clone(&self) -> ExportFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExportFlags
Auto Trait Implementations§
impl Freeze for ExportFlags
impl RefUnwindSafe for ExportFlags
impl Send for ExportFlags
impl Sync for ExportFlags
impl Unpin for ExportFlags
impl UnsafeUnpin for ExportFlags
impl UnwindSafe for ExportFlags
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