Struct rusty_express::prelude::Route
[−]
[src]
pub struct Route { /* fields omitted */ }
Methods
impl Route
[src]
Trait Implementations
impl Clone for Route
[src]
fn clone(&self) -> Self
[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 Router for Route
[src]
fn get(
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
[src]
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
fn post(
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
[src]
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
fn put(
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
[src]
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
fn delete(
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
[src]
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
fn options(
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
[src]
&mut self,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
fn other(
&mut self,
method: &str,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)
[src]
&mut self,
method: &str,
uri: RequestPath,
callback: fn(_: &Box<Request>, _: &mut Box<Response>)
)