Trait Http1StreamDecoder
Source pub trait Http1StreamDecoder<S, SLEEP, H>{
// Required methods
fn read_head<'life0, 'life1, 'async_trait>(
&'life0 mut self,
stream: &'life1 mut S,
) -> Pin<Box<dyn Future<Output = Result<(H, BodyFraming), IoError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn read_body<'life0, 'life1, 'async_trait>(
&'life0 mut self,
stream: &'life1 mut S,
) -> Pin<Box<dyn Future<Output = Result<DecoderBody, IoError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn set_read_timeout(&mut self, dur: Duration);
}