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§
Object Safety§
This trait is not object safe.