pub trait FloppyDirEntry: Debug {
type Metadata: FloppyMetadata;
type FileType: FloppyFileType;
// Required methods
fn path(&self) -> PathBuf;
fn file_name(&self) -> OsString;
fn metadata<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Metadata>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn file_type<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::FileType>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ino(&self) -> u64;
}