pub struct GraphQLRequestEndpoint { /* private fields */ }Trait Implementations§
Source§impl Debug for GraphQLRequestEndpoint
impl Debug for GraphQLRequestEndpoint
Source§impl<'a> Endpoint<'a> for GraphQLRequestEndpoint
impl<'a> Endpoint<'a> for GraphQLRequestEndpoint
Source§type Output = (GraphQLRequest,)
type Output = (GraphQLRequest,)
The inner type associated with this endpoint.
Source§fn apply(&'a self, cx: &mut ApplyContext<'_>) -> ApplyResult<Self::Future>
fn apply(&'a self, cx: &mut ApplyContext<'_>) -> ApplyResult<Self::Future>
Perform checking the incoming HTTP request and returns
an instance of the associated Future if matched.
Source§fn with_output<T>(self) -> Self
fn with_output<T>(self) -> Self
Add an annotation that the associated type
Output is fixed to T.Auto Trait Implementations§
impl Freeze for GraphQLRequestEndpoint
impl RefUnwindSafe for GraphQLRequestEndpoint
impl Send for GraphQLRequestEndpoint
impl Sync for GraphQLRequestEndpoint
impl Unpin for GraphQLRequestEndpoint
impl UnwindSafe for GraphQLRequestEndpoint
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<'a, E> EndpointWrapExt<'a> for Ewhere
E: Endpoint<'a>,
impl<'a, E> EndpointWrapExt<'a> for Ewhere
E: Endpoint<'a>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more