Struct libc::stat [−][src]
#[repr(C)]pub struct stat {}Show fields
pub st_dev: dev_t, pub st_ino: ino_t, pub st_nlink: nlink_t, pub st_mode: mode_t, pub st_uid: uid_t, pub st_gid: gid_t, pub st_rdev: dev_t, pub st_size: off_t, pub st_blksize: blksize_t, pub st_blocks: blkcnt_t, pub st_atime: time_t, pub st_atime_nsec: i64, pub st_mtime: time_t, pub st_mtime_nsec: i64, pub st_ctime: time_t, pub st_ctime_nsec: i64, // some fields omitted
Fields
st_dev: dev_t
st_ino: ino_t
st_nlink: nlink_t
st_mode: mode_t
st_uid: uid_t
st_gid: gid_t
st_rdev: dev_t
st_size: off_t
st_blksize: blksize_t
st_blocks: blkcnt_t
st_atime: time_t
st_atime_nsec: i64
st_mtime: time_t
st_mtime_nsec: i64
st_ctime: time_t
st_ctime_nsec: i64
Trait Implementations
impl Clone for stat
[src]
fn clone(&self) -> stat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for stat
[src]
impl Debug for stat
[src]
impl Eq for stat
[src]
impl Hash for stat
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<stat> for stat
[src]
impl StructuralEq for stat
[src]
impl StructuralPartialEq for stat
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,