pub trait FloppyMetadata: Debug {
    type FileType: FloppyFileType;
    type Permissions: FloppyPermissions;

    // Required methods
    fn file_type<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Self::FileType> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn is_dir<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn is_file<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn is_symlink<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn len<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn permissions<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Self::Permissions> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn modified<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<SystemTime>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn accessed<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<SystemTime>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn created<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<SystemTime>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Required Methods§

source

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

source

fn is_dir<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn is_file<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn len<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn permissions<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Self::Permissions> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

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

source

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

source

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

Implementors§