pub struct StatXMask(/* private fields */);
Expand description
A mask to tell the kernel which fields the caller is interested in.
Implementations§
Source§impl StatXMask
impl StatXMask
Sourcepub const BASIC_STATS: Self
pub const BASIC_STATS: Self
[All of the above]
Sourcepub const DIOALIGN: Self
pub const DIOALIGN: Self
Want stx_dio_mem_align and stx_dio_offset_align (since Linux 6.1; support varies by filesystem)
pub const fn empty() -> Self
pub const fn all() -> Self
pub const fn from_bits(bits: u32) -> Self
pub const fn bits(&self) -> u32
pub const fn contains(&self, other: Self) -> bool
pub fn remove(&mut self, other: Self)
pub fn insert(&mut self, other: Self)
pub fn toggle(&mut self, other: Self)
Trait Implementations§
Source§impl BitAndAssign<u32> for StatXMask
impl BitAndAssign<u32> for StatXMask
Source§fn bitand_assign(&mut self, rhs: u32)
fn bitand_assign(&mut self, rhs: u32)
Performs the
&=
operation. Read moreSource§impl BitAndAssign for StatXMask
impl BitAndAssign for StatXMask
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOrAssign<u32> for StatXMask
impl BitOrAssign<u32> for StatXMask
Source§fn bitor_assign(&mut self, rhs: u32)
fn bitor_assign(&mut self, rhs: u32)
Performs the
|=
operation. Read moreSource§impl BitOrAssign for StatXMask
impl BitOrAssign for StatXMask
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl Ord for StatXMask
impl Ord for StatXMask
Source§impl PartialOrd for StatXMask
impl PartialOrd for StatXMask
impl Copy for StatXMask
impl Eq for StatXMask
impl StructuralPartialEq for StatXMask
Auto Trait Implementations§
impl Freeze for StatXMask
impl RefUnwindSafe for StatXMask
impl Send for StatXMask
impl Sync for StatXMask
impl Unpin for StatXMask
impl UnwindSafe for StatXMask
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