Trait castle_api::types::Directive
source · [−]pub trait Directive: Send + Sync {
fn field_visitor<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
field: Field,
directive_args: &'life1 HashMap<Box<str, Global>, Input, RandomState>,
next: Next,
context: &'life2 Context
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Context: Send,
Context: Sync,
{ ... }
}