Struct headers::SecWebsocketVersion
source · pub struct SecWebsocketVersion(u8);
Expand description
The Sec-Websocket-Version
header.
Tuple Fields§
§0: u8
Implementations§
source§impl SecWebsocketVersion
impl SecWebsocketVersion
sourcepub const V13: SecWebsocketVersion = _
pub const V13: SecWebsocketVersion = _
Sec-Websocket-Version: 13
Trait Implementations§
source§impl Clone for SecWebsocketVersion
impl Clone for SecWebsocketVersion
source§fn clone(&self) -> SecWebsocketVersion
fn clone(&self) -> SecWebsocketVersion
Returns a copy 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 SecWebsocketVersion
impl Debug for SecWebsocketVersion
source§impl Hash for SecWebsocketVersion
impl Hash for SecWebsocketVersion
source§impl Header for SecWebsocketVersion
impl Header for SecWebsocketVersion
source§impl PartialEq for SecWebsocketVersion
impl PartialEq for SecWebsocketVersion
source§fn eq(&self, other: &SecWebsocketVersion) -> bool
fn eq(&self, other: &SecWebsocketVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SecWebsocketVersion
impl Eq for SecWebsocketVersion
impl StructuralPartialEq for SecWebsocketVersion
Auto Trait Implementations§
impl Freeze for SecWebsocketVersion
impl RefUnwindSafe for SecWebsocketVersion
impl Send for SecWebsocketVersion
impl Sync for SecWebsocketVersion
impl Unpin for SecWebsocketVersion
impl UnwindSafe for SecWebsocketVersion
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