Trait MetadataExt
trait MetadataExt
OS-specific extensions to fs::Metadata.
Required Methods
fn as_raw_stat(self: &Self) -> &super::raw::statGain a reference to the underlying
statstructure which contains the raw information returned by the OS.The contents of the returned
statare not consistent across Unix platforms. Theos::unix::fs::MetadataExttrait contains the cross-Unix abstractions contained within the raw stat.fn st_dev(self: &Self) -> u64fn st_ino(self: &Self) -> u64fn st_mode(self: &Self) -> u32fn st_nlink(self: &Self) -> u64fn st_uid(self: &Self) -> u32fn st_gid(self: &Self) -> u32fn st_rdev(self: &Self) -> u64fn st_size(self: &Self) -> u64fn st_atime(self: &Self) -> i64fn st_atime_nsec(self: &Self) -> i64fn st_mtime(self: &Self) -> i64fn st_mtime_nsec(self: &Self) -> i64fn st_ctime(self: &Self) -> i64fn st_ctime_nsec(self: &Self) -> i64fn st_birthtime(self: &Self) -> i64fn st_birthtime_nsec(self: &Self) -> i64fn st_blksize(self: &Self) -> u64fn st_blocks(self: &Self) -> u64fn st_flags(self: &Self) -> u32fn st_gen(self: &Self) -> u32fn st_lspare(self: &Self) -> u32
Implementors
impl MetadataExt for crate::fs::Metadata