Skip to main content

SendStreamExt

Trait SendStreamExt 

Source
trait SendStreamExt {
    // Required methods
    fn on_user_err<E>(&mut self, err: E) -> Error
       where E: Into<Box<dyn Error + Send + Sync>>;
    fn send_eos_frame(&mut self) -> Result<()>;
}

Required Methods§

Source

fn on_user_err<E>(&mut self, err: E) -> Error
where E: Into<Box<dyn Error + Send + Sync>>,

Source

fn send_eos_frame(&mut self) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<B: Buf> SendStreamExt for SendStream<SendBuf<B>>

Source§

fn on_user_err<E>(&mut self, err: E) -> Error
where E: Into<Box<dyn Error + Send + Sync>>,

Source§

fn send_eos_frame(&mut self) -> Result<()>

Implementors§