Trait tsukuyomi_juniper::GraphQLExecutor[][src]

pub trait GraphQLExecutor {
    type Future: Future<Item = GraphQLResponse, Error = Error>;
    fn execute(&self, request: GraphQLRequest) -> Self::Future;
}

Abstraction of an executor which processes asynchronously the GraphQL requests.

Associated Types

The type of future which will be returned from execute.

Required Methods

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

Implementors