FloppyDirEntry

Trait FloppyDirEntry 

Source
pub trait FloppyDirEntry<'a, Disk: FloppyDisk<'a>>:
    Debug
    + Unpin
    + Send {
    // Required methods
    fn path(&self) -> PathBuf;
    fn file_name(&self) -> OsString;
    fn metadata<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Disk::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<Disk::FileType>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn ino(&self) -> u64;
}

Required Methods§

Source

fn path(&self) -> PathBuf

Source

fn file_name(&self) -> OsString

Source

fn metadata<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Disk::Metadata>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn file_type<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Disk::FileType>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn ino(&self) -> u64

Implementors§