Trait hyper::common::exec::ConnStreamExec

source ·
pub trait ConnStreamExec<F, B: HttpBody>: Clone {
    // Required method
    fn execute_h2stream(&mut self, fut: H2Stream<F, B>);
}

Required Methods§

source

fn execute_h2stream(&mut self, fut: H2Stream<F, B>)

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E, F, B> ConnStreamExec<F, B> for E
where E: Executor<H2Stream<F, B>> + Clone, H2Stream<F, B>: Future<Output = ()>, B: HttpBody,

source§

impl<F, B> ConnStreamExec<F, B> for Exec
where H2Stream<F, B>: Future<Output = ()> + Send + 'static, B: HttpBody,