pub struct HandshakeExtensionFlags(pub u16);Expand description
The Extension Field (§3.2.1, Table 3) — a 16-bit bitmask on a CONCLUSION
handshake, or an opaque echoed value on an INDUCTION response.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Clone for HandshakeExtensionFlags
impl Clone for HandshakeExtensionFlags
Source§fn clone(&self) -> HandshakeExtensionFlags
fn clone(&self) -> HandshakeExtensionFlags
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 HandshakeExtensionFlags
Source§impl Debug for HandshakeExtensionFlags
impl Debug for HandshakeExtensionFlags
Source§impl Default for HandshakeExtensionFlags
impl Default for HandshakeExtensionFlags
Source§fn default() -> HandshakeExtensionFlags
fn default() -> HandshakeExtensionFlags
Returns the “default value” for a type. Read more
impl Eq for HandshakeExtensionFlags
Source§impl Hash for HandshakeExtensionFlags
impl Hash for HandshakeExtensionFlags
Source§impl PartialEq for HandshakeExtensionFlags
impl PartialEq for HandshakeExtensionFlags
Source§fn eq(&self, other: &HandshakeExtensionFlags) -> bool
fn eq(&self, other: &HandshakeExtensionFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HandshakeExtensionFlags
impl Serialize for HandshakeExtensionFlags
impl StructuralPartialEq for HandshakeExtensionFlags
Auto Trait Implementations§
impl Freeze for HandshakeExtensionFlags
impl RefUnwindSafe for HandshakeExtensionFlags
impl Send for HandshakeExtensionFlags
impl Sync for HandshakeExtensionFlags
impl Unpin for HandshakeExtensionFlags
impl UnsafeUnpin for HandshakeExtensionFlags
impl UnwindSafe for HandshakeExtensionFlags
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