Skip to main content

FileHandle

Trait FileHandle 

Source
pub trait FileHandle:
    Read
    + Write
    + Seek
    + Send
    + Sync {
    // Provided method
    fn flush_async<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
}

Provided Methods§

Source

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

Implementations on Foreign Types§

Source§

impl FileHandle for File

Implementors§