SharedSchema

Trait SharedSchema 

Source
pub trait SharedSchema: SharedSchemaImpl { }
Expand description

A helper trait for representing a Schema which can be shared between threads.

Implementors§

Source§

impl<S> SharedSchema for S
where S: Schema + Send + Sync + 'static, S::Context: Send + 'static, S::Query: Send + Sync + 'static, S::Mutation: Send + Sync + 'static, <S::Query as GraphQLType>::TypeInfo: Send + Sync + 'static, <S::Mutation as GraphQLType>::TypeInfo: Send + Sync + 'static,