Trait spring_web::handler::TypedHandlerFactory

source ·
pub trait TypedHandlerFactory:
    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§

source

fn install_route(&self, router: Router) -> Router

Trait Implementations§

source§

impl Collect for &'static dyn TypedHandlerFactory

Implementors§