pub struct Statx { /* private fields */ }
Expand description
Get file status, equivalent to statx(2)
.
Implementations§
source§impl Statx
impl Statx
pub fn new( dirfd: impl UseFd, pathname: *const c_char, statxbuf: *mut statx ) -> Self
sourcepub const CODE: u8 = 21u8
pub const CODE: u8 = 21u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub const fn flags(self, flags: i32) -> Self
pub const fn mask(self, mask: u32) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for Statx
impl RefUnwindSafe for Statx
impl !Send for Statx
impl !Sync for Statx
impl Unpin for Statx
impl UnwindSafe for Statx
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