Trait httpcodec::BodyDecode [] [src]

pub trait BodyDecode: Decode {
    fn initialize(&mut self, header: &Header) -> Result<()> { ... }
}

BodyDecode is used for representing HTTP body decoders.

Provided Methods

This method is called before starting to decode a HTTP body.

The default implementation does nothing.

Implementations on Foreign Types

impl<'a, T: ?Sized + BodyDecode> BodyDecode for &'a mut T
[src]

[src]

impl<T: ?Sized + BodyDecode> BodyDecode for Box<T>
[src]

[src]

Implementors