Struct actix_http::encoding::Encoder [−][src]
pub struct Encoder<B> { /* fields omitted */ }
Implementations
pub fn response(
encoding: ContentEncoding,
head: &mut ResponseHead,
body: AnyBody<B>
) -> AnyBody<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
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