Router

Type Alias Router 

Source
pub type Router = Router;
Expand description

Router with AppState

Aliased Type§

pub struct Router { /* private fields */ }

Trait Implementations§

Source§

impl TypeRouter for Router

Source§

fn typed_route<F: TypedHandlerRegistrar>(self, factory: F) -> Self

Add typed routes marked with procedural macros