Struct actix_http::encoding::Encoder
source · [−]pub struct Encoder<B> { /* private fields */ }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
pub fn vzip(self) -> V
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
