Trait MetadataExt
pub trait MetadataExt
OS-specific extensions to fs::Metadata.
Required Methods
fn as_raw_stat(&self) -> &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) -> u64fn st_ino(&self) -> u64fn st_mode(&self) -> u32fn st_nlink(&self) -> u64fn st_uid(&self) -> u32fn st_gid(&self) -> u32fn st_rdev(&self) -> u64fn st_size(&self) -> u64fn st_atime(&self) -> i64fn st_atime_nsec(&self) -> i64fn st_mtime(&self) -> i64fn st_mtime_nsec(&self) -> i64fn st_ctime(&self) -> i64fn st_ctime_nsec(&self) -> i64fn st_birthtime(&self) -> i64fn st_birthtime_nsec(&self) -> i64fn st_blksize(&self) -> u64fn st_blocks(&self) -> u64fn st_flags(&self) -> u32fn st_gen(&self) -> u32fn st_lspare(&self) -> u32
Implementors
impl MetadataExt for Metadata