Struct rs_router::RouterBuilder
[−]
[src]
pub struct RouterBuilder<'a> { /* fields omitted */ }
Methods
impl<'a> RouterBuilder<'a>
[src]
fn add_not_found<B>(self, handler: B) -> Self where
B: InnerHandler + 'static,
B: InnerHandler + 'static,
impl<'a> RouterBuilder<'a>
[src]
fn add_get<B>(self, re: &'a str, handler: B) -> Self where
B: InnerHandler + 'static,
B: InnerHandler + 'static,
fn add_post<B>(self, re: &'a str, handler: B) -> Self where
B: InnerHandler + 'static,
B: InnerHandler + 'static,
fn add_put<B>(self, re: &'a str, handler: B) -> Self where
B: InnerHandler + 'static,
B: InnerHandler + 'static,
fn add_patch<B>(self, re: &'a str, handler: B) -> Self where
B: InnerHandler + 'static,
B: InnerHandler + 'static,
fn add_delete<B>(self, re: &'a str, handler: B) -> Self where
B: InnerHandler + 'static,
B: InnerHandler + 'static,
fn add_head<B>(self, re: &'a str, handler: B) -> Self where
B: InnerHandler + 'static,
B: InnerHandler + 'static,
fn add_get_with_priority<B>(
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
fn add_post_with_priority<B>(
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
fn add_put_with_priority<B>(
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
fn add_patch_with_priority<B>(
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
fn add_delete_with_priority<B>(
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
fn add_head_with_priority<B>(
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
self,
re: &'a str,
priority: usize,
handler: B
) -> Self where
B: InnerHandler + 'static,
fn finish(self) -> Result<Router>
Trait Implementations
impl<'a> Default for RouterBuilder<'a>
[src]
fn default() -> RouterBuilder<'a>
Returns the "default value" for a type. Read more