Struct ferrum_router::router::RouterInner
[−]
[src]
pub struct RouterInner { pub routers: HashMap<Method, Vec<Arc<Recognizer>>>, pub wildcard: Vec<Arc<Recognizer>>, pub route_ids: HashMap<Id, (String, Arc<Recognizer>)>, }
Fields
routers: HashMap<Method, Vec<Arc<Recognizer>>>
The routers, specialized by method.
wildcard: Vec<Arc<Recognizer>>
Routes that accept any method.
route_ids: HashMap<Id, (String, Arc<Recognizer>)>
Used in URI generation.
Trait Implementations
impl Key for RouterInner
[src]
type Value = Arc<RouterInner>
The value type associated with this key type.