pub struct GraphQLProtocol(pub WebSocketProtocols);Available on crate feature
async-graphql only.Expand description
Extracted WebSocket protocol for GraphQL subscriptions.
Tuple Fields§
§0: WebSocketProtocolsTrait Implementations§
Source§impl<'a> FromRequest<'a> for GraphQLProtocol
impl<'a> FromRequest<'a> for GraphQLProtocol
Source§impl<'a> FromRequestParts<'a> for GraphQLProtocol
impl<'a> FromRequestParts<'a> for GraphQLProtocol
Auto Trait Implementations§
impl Freeze for GraphQLProtocol
impl RefUnwindSafe for GraphQLProtocol
impl Send for GraphQLProtocol
impl Sync for GraphQLProtocol
impl Unpin for GraphQLProtocol
impl UnwindSafe for GraphQLProtocol
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more