#[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 Forget for stat
impl Freeze for stat
impl Move 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> SizeHint for Twhere
T: ?Sized,
impl<T> SizeHint for Twhere
T: ?Sized,
Source§default fn lower_bound(&self) -> usize
default fn lower_bound(&self) -> usize
core_io_internals)[u8; 12] could return any value between 0 and
12 inclusively as a correct implementation. Read moreSource§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
sized_type_properties)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