Expand description
shuttle_next A batteries-included, WASM-based backend web-framework.
Modules§
- body
- HTTP body utilities.
- error_
handling - Error handling model and utilities
- extract
- Types and traits for extracting data from requests.
- handler
- Async functions that can be used to handle requests.
- http
- A general purpose library of common HTTP types
- middleware
- Utilities for writing middleware
- response
- Types and traits for generating responses.
- routing
- Routing between
Services and handlers. - tracing_
fmt - A
Subscriberfor formatting and loggingtracingdata. - tracing_
prelude - The
tracing-subscriberprelude. - tracing_
registry - Storage for span data shared by multiple
Layers.
Macros§
- app
- Generates a wasm32-wasi module containing an Axum router with your endpoints, which is passed as a hyper::service::Service to a hyper::Server.
Structs§
- Error
- Errors that can happen when using axum.
- Extension
- Extractor and response for extensions.
- Request
- Represents an HTTP request.
- Request
Wrapper - Response
Wrapper - Router
- The router type for composing handlers and services.
Traits§
- Request
Ext - Extension trait that adds additional methods to
Request. - Request
Parts Ext - Extension trait that adds additional methods to
Parts. - Service
- An asynchronous function from a
Requestto aResponse. - Service
Ext - Extension trait that adds additional methods to any
Service.
Functions§
- block_
on - Run a future to completion on the current thread.
- from_
read - Deserialize an instance of type
Tfrom an I/O stream of MessagePack. - tracing_
fmt - Returns a new
SubscriberBuilderfor configuring a formatting subscriber. - tracing_
registry - Returns a default
Registry.
Type Aliases§
- BoxError
- Alias for a type-erased error type.