Struct ntex::http::encoding::Encoder [−][src]
pub struct Encoder<B> { /* fields omitted */ }
Implementations
pub fn response(
encoding: ContentEncoding,
head: &mut ResponseHead,
body: ResponseBody<B>
) -> ResponseBody<B>
Trait Implementations
Auto Trait Implementations
impl<B> !RefUnwindSafe for Encoder<B>
impl<B> !UnwindSafe for Encoder<B>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more