pub trait Factory<T: Translator>: Unordered + Sized {
// Required method
fn new(ctx: impl Metrics, translator: T) -> Self;
}Expand description
A trait for index types that can be constructed from a metrics context and translator.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".