pub trait MetadataExt {
// Required methods
fn dev(&self) -> u64;
fn ino(&self) -> u64;
fn nlink(&self) -> u64;
}🔬This is a nightly-only experimental API. (
wasi_ext #71213)Available on WASI only.
Expand description
WASI-specific extensions to fs::Metadata.
Required Methods§
Sourcefn dev(&self) -> u64
🔬This is a nightly-only experimental API. (wasi_ext #71213)
fn dev(&self) -> u64
wasi_ext #71213)Returns the st_dev field of the internal filestat_t
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".