pub struct Compressor<S> { /* private fields */ }
Expand description
A hyper service that compresses responses
Implementations§
Source§impl<S> Compressor<S>
impl<S> Compressor<S>
Trait Implementations§
Source§impl<S: Clone> Clone for Compressor<S>
impl<S: Clone> Clone for Compressor<S>
Source§fn clone(&self) -> Compressor<S>
fn clone(&self) -> Compressor<S>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<S: Debug> Debug for Compressor<S>
impl<S: Debug> Debug for Compressor<S>
Source§impl<S> Service<Request<Incoming>> for Compressor<S>
impl<S> Service<Request<Incoming>> for Compressor<S>
Auto Trait Implementations§
impl<S> Freeze for Compressor<S>where
S: Freeze,
impl<S> RefUnwindSafe for Compressor<S>where
S: RefUnwindSafe,
impl<S> Send for Compressor<S>where
S: Send,
impl<S> Sync for Compressor<S>where
S: Sync,
impl<S> Unpin for Compressor<S>where
S: Unpin,
impl<S> UnwindSafe for Compressor<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more