Struct poem::web::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 moresourceimpl 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
Converts to this type from the input type.
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.
sourcefn decode<'i, I>(values: &mut I) -> Result<SecWebsocketKey, Error>where
I: Iterator<Item = &'i HeaderValue>,
fn decode<'i, I>(values: &mut I) -> Result<SecWebsocketKey, Error>where
I: Iterator<Item = &'i HeaderValue>,
Decode this type from an iterator of
HeaderValue
s.sourceimpl PartialEq<SecWebsocketKey> for SecWebsocketKey
impl PartialEq<SecWebsocketKey> for SecWebsocketKey
sourcefn eq(&self, other: &SecWebsocketKey) -> bool
fn eq(&self, other: &SecWebsocketKey) -> bool
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.