pub struct GraphQLProtocol(/* private fields */);
Expand description
A GraphQL protocol extractor.
It extract GraphQL protocol from SEC_WEBSOCKET_PROTOCOL
header.
Trait Implementations§
source§impl Clone for GraphQLProtocol
impl Clone for GraphQLProtocol
source§fn clone(&self) -> GraphQLProtocol
fn clone(&self) -> GraphQLProtocol
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GraphQLProtocol
impl Debug for GraphQLProtocol
source§impl<S> FromRequestParts<S> for GraphQLProtocol
impl<S> FromRequestParts<S> for GraphQLProtocol
source§type Rejection = StatusCode
type Rejection = StatusCode
If the extractor fails it’ll use this “rejection” type. A rejection is
a kind of error that can be converted into a response.
source§impl PartialEq for GraphQLProtocol
impl PartialEq for GraphQLProtocol
impl Copy for GraphQLProtocol
impl Eq for GraphQLProtocol
impl StructuralPartialEq 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<S, T> FromRequest<S, ViaParts> for T
impl<S, T> FromRequest<S, ViaParts> for T
source§type Rejection = <T as FromRequestParts<S>>::Rejection
type Rejection = <T as FromRequestParts<S>>::Rejection
If the extractor fails it’ll use this “rejection” type. A rejection is
a kind of error that can be converted into a response.