Trait Http1StreamEncoder
Source pub trait Http1StreamEncoder<S, SLEEP, H>{
// Required methods
fn write_head<'life0, 'life1, 'async_trait>(
&'life0 mut self,
stream: &'life1 mut S,
head: H,
body_framing: BodyFraming,
) -> Pin<Box<dyn Future<Output = Result<(), IoError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn write_body<'life0, 'life1, 'async_trait>(
&'life0 mut self,
stream: &'life1 mut S,
body: EncoderBody,
) -> Pin<Box<dyn Future<Output = Result<(), IoError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn set_write_timeout(&mut self, dur: Duration);
}