mirror of https://github.com/rwf2/Rocket.git
17 lines
328 B
Rust
17 lines
328 B
Rust
use ::{Method, Handler, ErrorHandler};
|
|
use content_type::ContentType;
|
|
|
|
pub struct StaticRouteInfo {
|
|
pub method: Method,
|
|
pub path: &'static str,
|
|
pub format: Option<ContentType>,
|
|
pub handler: Handler,
|
|
pub rank: Option<isize>,
|
|
}
|
|
|
|
pub struct StaticCatchInfo {
|
|
pub code: u16,
|
|
pub handler: ErrorHandler
|
|
}
|
|
|