pub struct StatAtFlags(/* private fields */);
Expand description
Flags for fstatat()
.
Implementations§
Source§impl StatAtFlags
impl StatAtFlags
Sourcepub const EMPTY_PATH: Self
pub const EMPTY_PATH: Self
If pathname is an empty string, operate on the file referred to by dirfd (which may have been obtained using the open(2) O_PATH flag). In this case, dirfd can refer to any type of file, not just a directory, and the behavior of fstatat() is similar to that of fstat(). If dirfd is AT_FDCWD, the call operates on the current working directory.
Sourcepub const NO_AUTOMOUNT: Self
pub const NO_AUTOMOUNT: Self
Don’t automount the terminal (“basename”) component of pathname. Since Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied.
Sourcepub const SYMLINK_NOFOLLOW: Self
pub const SYMLINK_NOFOLLOW: Self
If pathname is a symbolic link, do not dereference it: instead return information about the link itself, like lstat(). (By default, fstatat() dereferences symbolic links, like stat().)
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 AsRef<u32> for StatAtFlags
impl AsRef<u32> for StatAtFlags
Source§impl BitAnd<u32> for StatAtFlags
impl BitAnd<u32> for StatAtFlags
Source§impl BitAnd for StatAtFlags
impl BitAnd for StatAtFlags
Source§impl BitAndAssign<u32> for StatAtFlags
impl BitAndAssign<u32> for StatAtFlags
Source§fn bitand_assign(&mut self, rhs: u32)
fn bitand_assign(&mut self, rhs: u32)
Performs the
&=
operation. Read moreSource§impl BitAndAssign for StatAtFlags
impl BitAndAssign for StatAtFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOr<u32> for StatAtFlags
impl BitOr<u32> for StatAtFlags
Source§impl BitOr for StatAtFlags
impl BitOr for StatAtFlags
Source§impl BitOrAssign<u32> for StatAtFlags
impl BitOrAssign<u32> for StatAtFlags
Source§fn bitor_assign(&mut self, rhs: u32)
fn bitor_assign(&mut self, rhs: u32)
Performs the
|=
operation. Read moreSource§impl BitOrAssign for StatAtFlags
impl BitOrAssign for StatAtFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl Borrow<u32> for StatAtFlags
impl Borrow<u32> for StatAtFlags
Source§impl Clone for StatAtFlags
impl Clone for StatAtFlags
Source§fn clone(&self) -> StatAtFlags
fn clone(&self) -> StatAtFlags
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 StatAtFlags
impl Debug for StatAtFlags
Source§impl Deref for StatAtFlags
impl Deref for StatAtFlags
Source§impl From<StatAtFlags> for u32
impl From<StatAtFlags> for u32
Source§fn from(value: StatAtFlags) -> Self
fn from(value: StatAtFlags) -> Self
Converts to this type from the input type.
Source§impl From<u32> for StatAtFlags
impl From<u32> for StatAtFlags
Source§impl Hash for StatAtFlags
impl Hash for StatAtFlags
Source§impl Ord for StatAtFlags
impl Ord for StatAtFlags
Source§fn cmp(&self, other: &StatAtFlags) -> Ordering
fn cmp(&self, other: &StatAtFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StatAtFlags
impl PartialEq for StatAtFlags
Source§impl PartialOrd for StatAtFlags
impl PartialOrd for StatAtFlags
impl Copy for StatAtFlags
impl Eq for StatAtFlags
impl StructuralPartialEq for StatAtFlags
Auto Trait Implementations§
impl Freeze for StatAtFlags
impl RefUnwindSafe for StatAtFlags
impl Send for StatAtFlags
impl Sync for StatAtFlags
impl Unpin for StatAtFlags
impl UnwindSafe for StatAtFlags
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