Trait IntermediateFileSystemExtras
Source pub trait IntermediateFileSystemExtras:
Debug
+ Send
+ Sync {
// Required methods
fn rename<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
from: &'life1 Utf8Path,
to: &'life2 Utf8Path,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn create_read_stream<'life0, 'life1, 'async_trait>(
&'life0 self,
file: &'life1 Utf8Path,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn ReadStream>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn create_write_stream<'life0, 'life1, 'async_trait>(
&'life0 self,
file: &'life1 Utf8Path,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn WriteStream>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}