Enum async_graphql::http::WebSocketProtocols
source · [−]pub enum WebSocketProtocols {
SubscriptionsTransportWS,
GraphQLWS,
}
Expand description
Specification of which GraphQL Over WebSockets protocol is being utilized
Variants
SubscriptionsTransportWS
GraphQLWS
Implementations
sourceimpl Protocols
impl Protocols
sourcepub fn sec_websocket_protocol(&self) -> &'static str
pub fn sec_websocket_protocol(&self) -> &'static str
Returns the Sec-WebSocket-Protocol
header value for the protocol
Trait Implementations
impl Copy for Protocols
impl Eq for Protocols
impl StructuralEq for Protocols
impl StructuralPartialEq for Protocols
Auto Trait Implementations
impl RefUnwindSafe for Protocols
impl Send for Protocols
impl Sync for Protocols
impl Unpin for Protocols
impl UnwindSafe for Protocols
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.