rocket 0.3.16

Web framework for nightly with a focus on ease-of-use, expressibility, and speed.
use handler::{Handler, ErrorHandler};
use http::{Method, MediaType};

pub struct StaticRouteInfo {
    pub method: Method,
    pub path: &'static str,
    pub format: Option<MediaType>,
    pub handler: Handler,
    pub rank: Option<isize>,
}

pub struct StaticCatchInfo {
    pub code: u16,
    pub handler: ErrorHandler,
}