aerosol

Module axum

Source
Expand description

Integration with the axum web framework.

Provides the Dep and Obtain axum extractors for easily accessing resources from within route handlers.

To make use of these extractors, your application state must either be an Aero, or you must implement FromRef<YourState> for Aero.

Structs§

  • Get an already-existing resource from the state. Equivalent to calling Aero::try_get_async.
  • Get a resource from the state, or construct it if it doesn’t exist. Equivalent to calling Aero::try_obtain_async.

Enums§

  • Type of axum Rejection returned when a resource cannot be acquired
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy