hyper::proto::h2

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", so this trait is not object safe.

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§