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

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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<S, T> GraphQLTypeAsync<S> for T