Struct poem::middleware::CompressionEndpoint
source · pub struct CompressionEndpoint<E: Endpoint> { /* private fields */ }
Available on crate feature
compression
only.Expand description
Endpoint for Compression middleware.
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more