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

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

OS-specific extension methods for fs::Metadata`fs::Metadata`

Required Methods

fn as_raw_stat(&self) -> &stat

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

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

Implementors