Struct actix_http::encoding::Encoder [−][src]
pub struct Encoder<B> { /* fields omitted */ }
Implementations
pub fn response(
encoding: ContentEncoding,
head: &mut ResponseHead,
body: ResponseBody<B>
) -> ResponseBody<Encoder<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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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