pub trait FloppyFile<'a, Disk: FloppyDisk<'a>>: AsyncRead + AsyncWrite + AsyncSeek + Debug + Unpin + Send {
    // Required methods
    fn sync_all<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn sync_data<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_len<'life0, 'async_trait>(
        &'life0 mut self,
        size: u64
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    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 try_clone<'async_trait>(
        &'a self
    ) -> Pin<Box<dyn Future<Output = Result<Box<Disk::File>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait;
    fn set_permissions<'life0, 'async_trait>(
        &'life0 self,
        perm: Disk::Permissions
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn permissions<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Disk::Permissions>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

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

source

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

source

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

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 try_clone<'async_trait>( &'a self ) -> Pin<Box<dyn Future<Output = Result<Box<Disk::File>>> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait,

source

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

source

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

Implementors§