Struct iron_params::Params [] [src]

pub struct Params;

Trait Implementations

impl Key for Params
[src]

type Value = Arc<HashMap<StringVec<String>>>

The value type associated with this key type.

impl BeforeMiddleware for Params
[src]

fn before(&self, req: &mut Request) -> IronResult<()>

Do whatever work this middleware should do with a Request object.

fn catch(&self, &mut Request, err: IronError) -> Result<()IronError>

Respond to an error thrown by a previous BeforeMiddleware. Read more