[][src]Trait juniper::GraphQLTypeAsync

pub trait GraphQLTypeAsync<S = DefaultScalarValue>: GraphQLValueAsync<S> + GraphQLType<S> where
    Self::Context: Sync,
    Self::TypeInfo: Sync,
    S: ScalarValue + Send + Sync
{ }

Extension of GraphQLType trait with asynchronous queries/mutations resolvers.

It's automatically implemented for GraphQLValueAsync and GraphQLType implementers, so doesn't require manual or code-generated implementation.

Implementors

impl<S, T: ?Sized> GraphQLTypeAsync<S> for T where
    T: GraphQLValueAsync<S> + GraphQLType<S>,
    T::Context: Sync,
    T::TypeInfo: Sync,
    S: ScalarValue + Send + Sync
[src]

Loading content...