Struct poem::middleware::CompressionEndpoint [−][src]
pub struct CompressionEndpoint<E: Endpoint> { /* fields omitted */ }
This is supported on crate feature
compression
only.Expand description
Endpoint for Compression middleware.
Trait Implementations
Get the response to the request.
Auto Trait Implementations
impl<E> RefUnwindSafe for CompressionEndpoint<E> where
E: RefUnwindSafe,
impl<E> Send for CompressionEndpoint<E>
impl<E> Sync for CompressionEndpoint<E>
impl<E> Unpin for CompressionEndpoint<E> where
E: Unpin,
impl<E> UnwindSafe for CompressionEndpoint<E> where
E: UnwindSafe,
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