pub struct ResponseCompressionBuilder { /* private fields */ }
Expand description
The builder for HTTP response compression module
Implementations§
Source§impl ResponseCompressionBuilder
impl ResponseCompressionBuilder
Sourcepub fn enable(level: u32) -> ModuleBuilder
pub fn enable(level: u32) -> ModuleBuilder
Return a ModuleBuilder for ResponseCompression with the given compression level
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResponseCompressionBuilder
impl RefUnwindSafe for ResponseCompressionBuilder
impl Send for ResponseCompressionBuilder
impl Sync for ResponseCompressionBuilder
impl Unpin for ResponseCompressionBuilder
impl UnwindSafe for ResponseCompressionBuilder
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