Trait SeqWriter

Source
pub trait SeqWriter: Send {
    // Required methods
    fn write_sequentially(
        &mut self,
        bytes: &Bytes,
    ) -> impl Future<Output = Result<(), Error>> + Send;
    fn flush(&mut self) -> impl Future<Output = Result<(), Error>> + Send;
}

Required Methods§

Source

fn write_sequentially( &mut self, bytes: &Bytes, ) -> impl Future<Output = Result<(), Error>> + Send

Source

fn flush(&mut self) -> impl Future<Output = Result<(), Error>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§