Struct chilli::routing::Map
[−]
[src]
pub struct Map { /* fields omitted */ }
The map stores all the URL rules.
Methods
impl Map
[src]
pub fn new() -> Map
[src]
pub fn add(&mut self, rule: Rule)
[src]
pub fn bind(
&self,
host: String,
path: String,
query_string: Option<String>,
method: Method
) -> MapAdapter
[src]
&self,
host: String,
path: String,
query_string: Option<String>,
method: Method
) -> MapAdapter
Trait Implementations
impl Clone for Map
[src]
fn clone(&self) -> Map
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Map
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more