Struct headers::SecWebsocketVersion
source · pub struct SecWebsocketVersion(/* private fields */);
Expand description
The Sec-Websocket-Version
header.
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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)