Type Alias spring_web::Router
source · pub type Router = Router<AppState>;
Expand description
Router with AppState
Aliased Type§
struct Router { /* private fields */ }
Trait Implementations§
source§impl TypeRouter for Router
impl TypeRouter for Router
source§fn typed_route<F: TypedHandlerFactory>(self, factory: F) -> Self
fn typed_route<F: TypedHandlerFactory>(self, factory: F) -> Self
Add typed routes marked with procedural macros