pub struct WebSocketCompressionConfig {
pub enabled: bool,
pub client_no_context_takeover: bool,
pub server_no_context_takeover: bool,
pub client_max_window_bits: Option<u8>,
pub server_max_window_bits: Option<u8>,
}Fields§
§enabled: bool§client_no_context_takeover: bool§server_no_context_takeover: bool§client_max_window_bits: Option<u8>§server_max_window_bits: Option<u8>Trait Implementations§
Source§impl Clone for WebSocketCompressionConfig
impl Clone for WebSocketCompressionConfig
Source§fn clone(&self) -> WebSocketCompressionConfig
fn clone(&self) -> WebSocketCompressionConfig
Returns a duplicate 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 Debug for WebSocketCompressionConfig
impl Debug for WebSocketCompressionConfig
Source§impl Default for WebSocketCompressionConfig
impl Default for WebSocketCompressionConfig
impl Copy for WebSocketCompressionConfig
Auto Trait Implementations§
impl Freeze for WebSocketCompressionConfig
impl RefUnwindSafe for WebSocketCompressionConfig
impl Send for WebSocketCompressionConfig
impl Sync for WebSocketCompressionConfig
impl Unpin for WebSocketCompressionConfig
impl UnwindSafe for WebSocketCompressionConfig
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