pub trait Handler:
Send
+ Sync
+ Any {
// Required method
fn handle(&self, _: &mut Request<'_, '_>) -> Result<Response>;
}
Expand description
All handlers should implement this Handler trait
pub trait Handler:
Send
+ Sync
+ Any {
// Required method
fn handle(&self, _: &mut Request<'_, '_>) -> Result<Response>;
}
All handlers should implement this Handler trait