Enum async_graphql::http::WebSocketProtocols [−][src]
pub enum WebSocketProtocols {
SubscriptionsTransportWS,
GraphQLWS,
}
Expand description
Specification of which GraphQL Over WebSockets protocol is being utilized
Variants
Implementations
Returns the Sec-WebSocket-Protocol
header value for the protocol
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Protocols
impl UnwindSafe for Protocols
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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