Struct poem::web::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.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more