Trait std::os::linux::fs::MetadataExt [] [src]

pub trait MetadataExt {
    fn as_raw_stat(&self) -> &stat;
}

OS-specific extension methods for fs::Metadata

Required Methods

fn as_raw_stat(&self) -> &stat

Gain a reference to the underlying stat structure which contains the raw information returned by the OS.

The contents of the returned stat are not consistent across Unix platforms. The os::unix::fs::MetadataExt trait contains the cross-Unix abstractions contained within the raw stat.

Implementors