pub trait ExtensionFactory:
Send
+ Sync
+ 'static {
// Required method
fn create(&self) -> Arc<dyn Extension> ⓘ;
}Expand description
Extension factory
Used to create an extension instance.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl ExtensionFactory for Analyzer
impl ExtensionFactory for ApolloTracing
Available on crate feature
apollo_tracing only.impl ExtensionFactory for Logger
Available on crate feature
log only.impl ExtensionFactory for Tracing
Available on crate feature
tracing only.impl<T: CacheStorage> ExtensionFactory for ApolloPersistedQueries<T>
Available on crate feature
apollo_persisted_queries only.impl<T> ExtensionFactory for OpenTelemetry<T>
Available on crate feature
opentelemetry only.