Trait lance_core::io::Writer

source ·
pub trait Writer: AsyncWrite + Unpin + Send {
    // Required method
    fn tell<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

A trait for writing to a file on local file system or object store.

Required Methods§

source

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

Tell the current offset.

Implementations on Foreign Types§

source§

impl Writer for File

source§

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

Implementors§