pub trait Handler<State>:
Send
+ Sync
+ 'static {
// Required method
fn call(
&self,
ctx: RequestContext,
state: Arc<State>,
) -> Pin<Box<dyn Future<Output = Response> + Send + 'static>>;
}Expand description
Handler for a RESP command.