#[repr(C)]pub struct stat {Show 18 fields
pub st_dev: u64,
pub st_ino: u64,
pub st_nlink: u64,
pub st_mode: u32,
pub st_uid: u32,
pub st_gid: u32,
pub __pad0: c_int,
pub st_rdev: u64,
pub st_size: i64,
pub st_blksize: i64,
pub st_blocks: i64,
pub st_atime: i64,
pub st_atime_nsec: c_long,
pub st_mtime: i64,
pub st_mtime_nsec: c_long,
pub st_ctime: i64,
pub st_ctime_nsec: c_long,
pub __unused: [c_long; 3],
}these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
Fields§
§st_dev: u64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_ino: u64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_nlink: u64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_mode: u32these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_uid: u32these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_gid: u32these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
__pad0: c_intthese type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_rdev: u64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_size: i64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_blksize: i64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_blocks: i64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_atime: i64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_atime_nsec: c_longthese type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_mtime: i64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_mtime_nsec: c_longthese type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_ctime: i64these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
st_ctime_nsec: c_longthese type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
__unused: [c_long; 3]these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions
Trait Implementations§
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§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)]const SIZE: usize = _
#[doc(hidden)]const SIZE: usize = _
sized_type_properties)Source§#[doc(hidden)]const ALIGN: usize = _
#[doc(hidden)]const ALIGN: usize = _
sized_type_properties)Source§#[doc(hidden)]const ALIGNMENT: Alignment = _
#[doc(hidden)]const ALIGNMENT: Alignment = _
ptr_alignment_type #102070)Source§#[doc(hidden)]const IS_ZST: bool = _
#[doc(hidden)]const IS_ZST: bool = _
sized_type_properties)Source§#[doc(hidden)]const LAYOUT: Layout = _
#[doc(hidden)]const LAYOUT: Layout = _
sized_type_properties)Source§#[doc(hidden)]const MAX_SLICE_LEN: usize = _
#[doc(hidden)]const MAX_SLICE_LEN: usize = _
sized_type_properties)[Self]. Read more