Struct stat
#[repr(C)]
pub struct stat { pub st_dev: i32, pub st_mode: u16, pub st_nlink: u16, pub st_ino: u64, pub st_uid: u32, pub st_gid: u32, pub st_rdev: i32, pub st_atime: c_long, pub st_atime_nsec: c_long, pub st_mtime: c_long, pub st_mtime_nsec: c_long, pub st_ctime: c_long, pub st_ctime_nsec: c_long, pub st_birthtime: c_long, pub st_birthtime_nsec: c_long, pub st_size: i64, pub st_blocks: i64, pub st_blksize: i32, pub st_flags: u32, pub st_gen: u32, pub st_lspare: i32, pub st_qspare: [i64; 2] }
Fields
st_dev: i32st_mode: u16st_nlink: u16st_ino: u64st_uid: u32st_gid: u32st_rdev: i32st_atime: c_longst_atime_nsec: c_longst_mtime: c_longst_mtime_nsec: c_longst_ctime: c_longst_ctime_nsec: c_longst_birthtime: c_longst_birthtime_nsec: c_longst_size: i64st_blocks: i64st_blksize: i32st_flags: u32st_gen: u32st_lspare: i32st_qspare: [i64; 2]
Trait Implementations
impl Clone for stat
fn clone(&self) -> stat
Auto Trait Implementations
impl Freeze for stat
impl RefUnwindSafe for stat
impl Send for stat
impl Sync for stat
impl Unpin for stat
impl UnsafeUnpin for stat
impl UnwindSafe for stat
Blanket Implementations
impl<T> Any for stat
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for stat
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for stat
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for stat
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for stat
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for stat
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for stat
impl<T> ToOwned for stat
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for stat
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for stat
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for stat
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>