pub trait Handler<Args>: 'static {
type Output;
type Future: Future<Output = Self::Output>;
// Required method
fn call(&self, args: Args) -> Self::Future;
}Expand description
§Handler trait
The Handler trait defines the signature of a handler function that can be used to implement a service handler