Module axum::routing[][src]

Expand description

Routing between Services and handlers.

Re-exports

pub use self::handler_method_routing::any;
pub use self::handler_method_routing::delete;
pub use self::handler_method_routing::get;
pub use self::handler_method_routing::head;
pub use self::handler_method_routing::on;
pub use self::handler_method_routing::options;
pub use self::handler_method_routing::patch;
pub use self::handler_method_routing::post;
pub use self::handler_method_routing::put;
pub use self::handler_method_routing::trace;
pub use self::handler_method_routing::MethodRouter;

Modules

Future types.

Routing for handlers based on HTTP methods.

Routing for Service’s based on HTTP methods.

Structs

A MakeService that produces axum router services.

A filter that matches one or more HTTP methods.

A Service that responds with 405 Method not allowed to all requests.

How routes are stored inside a Router.

The router type for composing handlers and services.