Struct async_graphql_actix_web::GraphQL
source · pub struct GraphQL<E> { /* private fields */ }
Expand description
A GraphQL handler.
Implementations§
Trait Implementations§
source§impl<E: Executor> Handler<(HttpRequest, GraphQLRequest)> for GraphQL<E>
impl<E: Executor> Handler<(HttpRequest, GraphQLRequest)> for GraphQL<E>
type Output = HttpResponse
type Future = Pin<Box<dyn Future<Output = <GraphQL<E> as Handler<(HttpRequest, GraphQLRequest)>>::Output>>>
fn call( &self, (http_req, graphql_req): (HttpRequest, GraphQLRequest), ) -> Self::Future
Auto Trait Implementations§
impl<E> Freeze for GraphQL<E>where
E: Freeze,
impl<E> RefUnwindSafe for GraphQL<E>where
E: RefUnwindSafe,
impl<E> Send for GraphQL<E>where
E: Send,
impl<E> Sync for GraphQL<E>where
E: Sync,
impl<E> Unpin for GraphQL<E>where
E: Unpin,
impl<E> UnwindSafe for GraphQL<E>where
E: UnwindSafe,
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
)