pub struct StatStruct {Show 19 fields
pub st_dev: c_ulong,
pub st_ino: u64,
pub st_mode: c_ushort,
pub st_nlink: i32,
pub st_uid: i32,
pub st_gid: i32,
pub st_rdev: c_ulong,
pub st_size: u64,
pub st_atime: time_t,
pub st_atime_nsec: i32,
pub st_mtime: time_t,
pub st_mtime_nsec: i32,
pub st_ctime: time_t,
pub st_ctime_nsec: i32,
pub st_birthtime: time_t,
pub st_birthtime_nsec: i32,
pub st_file_attributes: c_ulong,
pub st_reparse_tag: u32,
pub st_ino_high: u64,
}
Fields§
§st_dev: c_ulong
§st_ino: u64
§st_mode: c_ushort
§st_nlink: i32
§st_uid: i32
§st_gid: i32
§st_rdev: c_ulong
§st_size: u64
§st_atime: time_t
§st_atime_nsec: i32
§st_mtime: time_t
§st_mtime_nsec: i32
§st_ctime: time_t
§st_ctime_nsec: i32
§st_birthtime: time_t
§st_birthtime_nsec: i32
§st_file_attributes: c_ulong
§st_reparse_tag: u32
§st_ino_high: u64
Implementations§
Source§impl StatStruct
impl StatStruct
pub fn update_st_mode_from_path(&mut self, path: &OsStr, attr: u32)
Trait Implementations§
Source§impl Default for StatStruct
impl Default for StatStruct
Source§fn default() -> StatStruct
fn default() -> StatStruct
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatStruct
impl RefUnwindSafe for StatStruct
impl Send for StatStruct
impl Sync for StatStruct
impl Unpin for StatStruct
impl UnwindSafe for StatStruct
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more