Module axum::handler[][src]

Expand description

Async functions that can be used to handle requests.

Modules

Handler future types.

Structs

An adapter that makes a Handler into a Service.

A Service created from a Handler by applying a Tower middleware.

A handler Service that accepts requests based on a MethodFilter and allows chaining additional handlers.

Traits

Trait for async functions that can be used to handle requests.

Functions

Route requests to the given handler regardless of the HTTP method of the request.

Route CONNECT requests to the given handler.

Route DELETE requests to the given handler.

Route GET requests to the given handler.

Route HEAD requests to the given handler.

Route requests with the given method to the handler.

Route OPTIONS requests to the given handler.

Route PATCH requests to the given handler.

Route POST requests to the given handler.

Route PUT requests to the given handler.

Route TRACE requests to the given handler.