pub trait TypedHandlerRegistrar:
Send
+ Sync
+ 'static {
// Required method
fn install_route(&self, router: Router) -> Router;
}
Expand description
TypeHandler is used to configure the spring-macro marked route handler
Required Methods§
Sourcefn install_route(&self, router: Router) -> Router
fn install_route(&self, router: Router) -> Router
install route