Trait hyper::proto::h2::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<()>

Object Safety§

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§