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§
fn write_sequentially( &mut self, bytes: &Bytes, ) -> impl Future<Output = Result<(), Error>> + Send
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.