pub trait ContextFactory {
// Required method
fn new_context(self, persistent_ctx: PersistentContext) -> Context;
}Expand description
Used to generate new Context.
Required Methods§
fn new_context(self, persistent_ctx: PersistentContext) -> Context
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".