Struct headers::SecWebsocketKey
source · [−]pub struct SecWebsocketKey(_);
Expand description
The Sec-Websocket-Key
header.
Trait Implementations
sourceimpl Clone for SecWebsocketKey
impl Clone for SecWebsocketKey
sourcefn clone(&self) -> SecWebsocketKey
fn clone(&self) -> SecWebsocketKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SecWebsocketKey
impl Debug for SecWebsocketKey
sourceimpl From<SecWebsocketKey> for SecWebsocketAccept
impl From<SecWebsocketKey> for SecWebsocketAccept
sourcefn from(key: SecWebsocketKey) -> SecWebsocketAccept
fn from(key: SecWebsocketKey) -> SecWebsocketAccept
Performs the conversion.
sourceimpl Hash for SecWebsocketKey
impl Hash for SecWebsocketKey
sourceimpl Header for SecWebsocketKey
impl Header for SecWebsocketKey
sourcefn name() -> &'static HeaderName
fn name() -> &'static HeaderName
The name of this header.
sourceimpl PartialEq<SecWebsocketKey> for SecWebsocketKey
impl PartialEq<SecWebsocketKey> for SecWebsocketKey
sourcefn eq(&self, other: &SecWebsocketKey) -> bool
fn eq(&self, other: &SecWebsocketKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SecWebsocketKey) -> bool
fn ne(&self, other: &SecWebsocketKey) -> bool
This method tests for !=
.
impl Eq for SecWebsocketKey
impl StructuralEq for SecWebsocketKey
impl StructuralPartialEq for SecWebsocketKey
Auto Trait Implementations
impl RefUnwindSafe for SecWebsocketKey
impl Send for SecWebsocketKey
impl Sync for SecWebsocketKey
impl Unpin for SecWebsocketKey
impl UnwindSafe for SecWebsocketKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more