#[repr(C)]pub struct stat {Show 22 fields
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],
}
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
libc
crate on crates.io should be used instead for the correct definitionsFields§
§st_dev: i32
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_mode: u16
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_nlink: u16
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_ino: u64
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_uid: u32
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_gid: u32
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_rdev: i32
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_atime: c_long
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_atime_nsec: c_long
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_mtime: c_long
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_mtime_nsec: c_long
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_ctime: c_long
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_ctime_nsec: c_long
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_birthtime: c_long
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_birthtime_nsec: c_long
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_size: i64
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_blocks: i64
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_blksize: i32
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_flags: u32
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_gen: u32
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_lspare: i32
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
§libc
crate on crates.io should be used instead for the correct definitionsst_qspare: [i64; 2]
👎Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the
libc
crate on crates.io should be used instead for the correct definitionsTrait 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 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
Mutably borrows from an owned value. Read more