Skip to main content

SharedSchema

Trait SharedSchema 

Source
pub trait SharedSchema: SharedSchemaImpl { }
Expand description

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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,