Struct sincere::app::App
[−]
[src]
pub struct App { /* fields omitted */ }
Methods
impl App
[src]
fn new() -> App
[src]
fn get<H>(&mut self, pattern: &str, handle: H) -> &mut Route where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn post<H>(&mut self, pattern: &str, handle: H) -> &mut Route where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn put<H>(&mut self, pattern: &str, handle: H) -> &mut Route where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn delete<H>(&mut self, pattern: &str, handle: H) -> &mut Route where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn option<H>(&mut self, pattern: &str, handle: H) -> &mut Route where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn head<H>(&mut self, pattern: &str, handle: H) -> &mut Route where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn mount(&mut self, group: Group)
[src]
fn begin<H>(&mut self, handle: H) -> &mut Self where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn before<H>(&mut self, handle: H) -> &mut Self where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn after<H>(&mut self, handle: H) -> &mut Self where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn finish<H>(&mut self, handle: H) -> &mut Self where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,
fn use_middleware<F>(&mut self, func: F) where
F: Fn(&mut App),
[src]
F: Fn(&mut App),
fn not_found<H>(&mut self, handle: H) where
H: Fn(&mut Context) + Send + Sync + 'static,
[src]
H: Fn(&mut Context) + Send + Sync + 'static,