Struct salvo::http::headers::SecWebsocketKey [−][src]
pub struct SecWebsocketKey(_);
Expand description
The Sec-Websocket-Key
header.
Trait Implementations
Performs the conversion.
The name of this header.
pub fn decode<'i, I>(values: &mut I) -> Result<SecWebsocketKey, Error> where
I: Iterator<Item = &'i HeaderValue>,
pub 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.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self