pub trait CollectFields: FieldResolver {
// Provided methods
fn introspection_type_name(&self) -> String { ... }
fn collect_all_fields<'a, 'ctx: 'a>(
&'a self,
ctx: &SelectionSetContext<'ctx>,
fields: &mut Fields<'a>,
) -> ResolverResult<()> { ... }
}
Provided Methods§
fn introspection_type_name(&self) -> String
fn collect_all_fields<'a, 'ctx: 'a>( &'a self, ctx: &SelectionSetContext<'ctx>, fields: &mut Fields<'a>, ) -> ResolverResult<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.