pub trait Initializer: Send + Sync {
// Required method
fn init(self: Box<Self>, state: PreInitState<'_>) -> PostInitState;
}Expand description
Interface for dispatcher initializers.
Required Methods§
Sourcefn init(self: Box<Self>, state: PreInitState<'_>) -> PostInitState
fn init(self: Box<Self>, state: PreInitState<'_>) -> PostInitState
Initializes the dispatcher(s).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".