pub trait Handler<Inherited> {
type H: HandlerTypes;
// Required method
fn handler_for<C: Context>(self) -> Option<DynHandler<C, Inherited>>;
}
Required Associated Types§
type H: HandlerTypes
Required Methods§
fn handler_for<C: Context>(self) -> Option<DynHandler<C, Inherited>>
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.