Struct linux_stat::raw::StatXMask
source · #[repr(transparent)]pub struct StatXMask(_);
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)
Methods from Deref<Target = u32>§
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl BitAndAssign<StatXMask> for StatXMask
impl BitAndAssign<StatXMask> for StatXMask
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§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 BitOrAssign<StatXMask> for StatXMask
impl BitOrAssign<StatXMask> for StatXMask
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_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 Ord for StatXMask
impl Ord for StatXMask
source§impl PartialEq<StatXMask> for StatXMask
impl PartialEq<StatXMask> for StatXMask
source§impl PartialOrd<StatXMask> for StatXMask
impl PartialOrd<StatXMask> for StatXMask
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StatXMask
impl Eq for StatXMask
impl StructuralEq for StatXMask
impl StructuralPartialEq for StatXMask
Auto Trait Implementations§
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