Skip to main content

QuerySpec

Trait QuerySpec 

Source
pub trait QuerySpec: Send + Sync {
    type Output: Send + 'static;
}
Expand description

Runtime contract implemented by executable query values.

Required Associated Types§

Source

type Output: Send + 'static

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<S, T, V> QuerySpec for Query<S, T, V>
where S: SchemaAccess, T: QueryModel<Schema = S, Variables = V> + Sync, V: QueryVariableSet + Sync,