Struct libc::stat

source ·
#[repr(C)]
pub struct stat {
Show 20 fields pub st_mode: mode_t, pub st_dev: dev_t, pub st_ino: ino_t, pub st_nlink: nlink_t, pub st_uid: uid_t, pub st_gid: gid_t, pub st_rdev: dev_t, pub st_atime: time_t, pub st_atime_nsec: c_long, pub st_mtime: time_t, pub st_mtime_nsec: c_long, pub st_ctime: time_t, pub st_ctime_nsec: c_long, pub st_size: off_t, pub st_blocks: blkcnt_t, pub st_blksize: blksize_t, pub st_flags: u32, pub st_gen: u32, pub st_birthtime: time_t, pub st_birthtime_nsec: c_long,
}

Fields§

§st_mode: mode_t§st_dev: dev_t§st_ino: ino_t§st_nlink: nlink_t§st_uid: uid_t§st_gid: gid_t§st_rdev: dev_t§st_atime: time_t§st_atime_nsec: c_long§st_mtime: time_t§st_mtime_nsec: c_long§st_ctime: time_t§st_ctime_nsec: c_long§st_size: off_t§st_blocks: blkcnt_t§st_blksize: blksize_t§st_flags: u32§st_gen: u32§st_birthtime: time_t§st_birthtime_nsec: c_long

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given [Hasher]. Read more
Feeds a slice of this type into the given [Hasher]. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.