[][src]Module gotham::router::route::matcher

Defines the type RouteMatcher and default implementations.

Re-exports

pub use self::accept::AcceptHeaderRouteMatcher;
pub use self::access_control_request_method::AccessControlRequestMethodMatcher;
pub use self::and::AndRouteMatcher;
pub use self::any::AnyRouteMatcher;
pub use self::content_type::ContentTypeHeaderRouteMatcher;

Modules

accept

Defines the AcceptHeaderRouterMatcher.

access_control_request_method

Defines the AccessControlRequestMethodMatcher.

and

Defines the type AndRouteMatcher

any

Defines the type AnyRouteMatcher

content_type

Defines the ContentTypeHeaderRouteMatcher.

Structs

MethodOnlyRouteMatcher

A RouteMatcher that succeeds when the Request has been made with an accepted HTTP request method.

Traits

IntoRouteMatcher

Allow various types to represent themselves as a RouteMatcher

RouteMatcher

Determines if conditions required for the associated Route to be invoked by the Router have been met.