pub trait Handler<T>:
Clone
+ Send
+ Sync
+ 'static {
// Required method
fn into_handler(self) -> HandlerFn;
}Expand description
A handler that can be converted to a HandlerFn
Required Methods§
fn into_handler(self) -> HandlerFn
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.