[][src]Trait async_http1_lite::message::head_renderer::HeadRenderer

pub trait HeadRenderer<H: Head> {
    fn new() -> Self;
fn render(&self, head: H, buf: &mut Vec<u8>) -> Result<()>; }

Required methods

fn new() -> Self

fn render(&self, head: H, buf: &mut Vec<u8>) -> Result<()>

Loading content...

Implementors

impl HeadRenderer<(Response<()>, Option<Vec<u8>>)> for ResponseHeadRenderer[src]

impl HeadRenderer<(Parts, Option<Vec<u8>>)> for ResponseHeadRenderer[src]

impl HeadRenderer<Request<()>> for RequestHeadRenderer[src]

impl HeadRenderer<Parts> for RequestHeadRenderer[src]

Loading content...