pub struct DisableResponseCompression;Expand description
Response extension that opts one response out of dynamic compression.
Use this for a response that combines secrets with attacker-controlled reflection, or for another response whose application protocol requires an unencoded representation. Global compression remains enabled for other eligible responses.
Trait Implementations§
Source§impl Clone for DisableResponseCompression
impl Clone for DisableResponseCompression
Source§fn clone(&self) -> DisableResponseCompression
fn clone(&self) -> DisableResponseCompression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DisableResponseCompression
Source§impl Debug for DisableResponseCompression
impl Debug for DisableResponseCompression
Source§impl Default for DisableResponseCompression
impl Default for DisableResponseCompression
Source§fn default() -> DisableResponseCompression
fn default() -> DisableResponseCompression
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DisableResponseCompression
impl RefUnwindSafe for DisableResponseCompression
impl Send for DisableResponseCompression
impl Sync for DisableResponseCompression
impl Unpin for DisableResponseCompression
impl UnsafeUnpin for DisableResponseCompression
impl UnwindSafe for DisableResponseCompression
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