grenade/
route.rs

1use path::DynamicPath;
2use context::Context;
3
4pub struct Route {
5    pub path: DynamicPath,
6    pub method: String,
7    pub handler: Box<dyn Fn(Context) -> String + Send + Sync + 'static>
8}