[−][src]Trait async_fs::unix::DirEntryExt
Unix-specific extension methods for DirEntry
.
Required methods
fn ino(&self) -> u64
Returns the underlying d_ino
field in the contained dirent
structure.
Examples
use async_fs::unix::DirEntryExt; use futures_lite::stream::StreamExt; let mut entries = async_fs::read_dir(".").await?; while let Some(entry) = entries.try_next().await? { println!("{:?}: {}", entry.file_name(), entry.ino()); }