Struct async_graphql_axum::SecWebsocketProtocol [−][src]
pub struct SecWebsocketProtocol(pub WebSocketProtocols);Expand description
The Sec-Websocket-Protocol header.
Tuple Fields
0: WebSocketProtocolsTrait Implementations
The name of this header.
Decode this type from an iterator of HeaderValues.
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 SecWebsocketProtocol
impl Send for SecWebsocketProtocol
impl Sync for SecWebsocketProtocol
impl Unpin for SecWebsocketProtocol
impl UnwindSafe for SecWebsocketProtocol
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