pub trait FloppyFile: AsyncRead + AsyncWrite + AsyncSeek + Debug {
type Metadata: FloppyMetadata;
type Permissions: FloppyPermissions;
// 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<Self::Metadata>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn try_clone<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Box<Self>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_permissions<'life0, 'async_trait>(
&'life0 self,
perm: Self::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<Self::Permissions>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}