Crate axum_help

Source
Expand description

This crate make a series of enhancements for Axum

Modules§

filter
Conditionally dispatch requests to the inner service based on the result of a predicate.

Macros§

http_bail
Return early with an HttpError
http_err
Construct an ad-hoc error from a string or existing error value.

Structs§

HttpError
The error type contains a status code and a string message.

Traits§

HttpContext
Easily convert std::result::Result to HttpResult

Type Aliases§

HttpResult
convenient return type when writing axum handler.