Struct tsukuyomi_juniper::GraphQLState[][src]

pub struct GraphQLState<T, QueryT, MutationT> where
    QueryT: GraphQLType<Context = T>,
    MutationT: GraphQLType<Context = T>, 
{ /* fields omitted */ }

The main type containing all contextual values for processing GraphQL requests.

Methods

impl<T, QueryT, MutationT> GraphQLState<T, QueryT, MutationT> where
    QueryT: GraphQLType<Context = T>,
    MutationT: GraphQLType<Context = T>, 
[src]

Creates a new GraphQLState from components.

Returns the reference to context in this value.

Returns the reference to root node in this value.

Create a future for processing the execution of a GraphQL request.

Trait Implementations

impl<T: Debug, QueryT: Debug, MutationT: Debug> Debug for GraphQLState<T, QueryT, MutationT> where
    QueryT: GraphQLType<Context = T>,
    MutationT: GraphQLType<Context = T>, 
[src]

Formats the value using the given formatter. Read more

impl<T, QueryT, MutationT> Clone for GraphQLState<T, QueryT, MutationT> where
    QueryT: GraphQLType<Context = T>,
    MutationT: GraphQLType<Context = T>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T, QueryT, MutationT> GraphQLExecutor for GraphQLState<T, QueryT, MutationT> where
    QueryT: GraphQLType<Context = T>,
    MutationT: GraphQLType<Context = T>, 
[src]

The type of future which will be returned from execute.

Creates a future to process an execution of a GraphQL request.

Auto Trait Implementations

impl<T, QueryT, MutationT> Send for GraphQLState<T, QueryT, MutationT> where
    MutationT: Send + Sync,
    QueryT: Send + Sync,
    T: Send + Sync,
    <MutationT as GraphQLType>::TypeInfo: Send + Sync,
    <QueryT as GraphQLType>::TypeInfo: Send + Sync

impl<T, QueryT, MutationT> Sync for GraphQLState<T, QueryT, MutationT> where
    MutationT: Send + Sync,
    QueryT: Send + Sync,
    T: Send + Sync,
    <MutationT as GraphQLType>::TypeInfo: Send + Sync,
    <QueryT as GraphQLType>::TypeInfo: Send + Sync