rust / latest / std / os / wasi / fs / trait.direntryext.html

Trait std::os::wasi::fs::DirEntryExt

pub trait DirEntryExt {
    // Required method
    fn ino(&self) -> u64;
}
🔬This is a nightly-only experimental API. (wasi_ext #71213)
Available on WASI only.

WASI-specific extension methods for fs::DirEntry.

Required Methods

source
fn ino(&self) -> u64
🔬This is a nightly-only experimental API. (wasi_ext #71213)

Returns the underlying d_ino field of the dirent_t

Implementors

source
impl DirEntryExt for DirEntry

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/wasi/fs/trait.DirEntryExt.html