pub trait TGetHandler<R, ApplicationResult>: Sized {
// Required method
fn get_handler() -> impl AsyncFunc<Self, R, ApplicationResult>;
}Required Methods§
fn get_handler() -> impl AsyncFunc<Self, R, ApplicationResult>
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.