pub struct DeflateParams {
pub client_no_context_takeover: bool,
pub server_no_context_takeover: bool,
}Expand description
Parameters agreed during the handshake.
Fields§
§client_no_context_takeover: boolThe sender of compressed client→server messages resets its context per message.
server_no_context_takeover: boolThe server resets its context per message (always true for responses we produce).
Trait Implementations§
Source§impl Clone for DeflateParams
impl Clone for DeflateParams
impl Copy for DeflateParams
Source§impl Debug for DeflateParams
impl Debug for DeflateParams
impl Eq for DeflateParams
Source§impl PartialEq for DeflateParams
impl PartialEq for DeflateParams
impl StructuralPartialEq for DeflateParams
Auto Trait Implementations§
impl Freeze for DeflateParams
impl RefUnwindSafe for DeflateParams
impl Send for DeflateParams
impl Sync for DeflateParams
impl Unpin for DeflateParams
impl UnsafeUnpin for DeflateParams
impl UnwindSafe for DeflateParams
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