pub trait Handler<T>:
Clone
+ Send
+ Sized
+ 'static {
type Future: Future<Output = ()> + Send + 'static;
// Required method
fn call(self, msg: SeaMessage<'_>, app: Arc<App>) -> Self::Future;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".