Crate product_os_server
source ·Modules
- Lower-level client connection API.
- HTTP Upgrades
Structs
- A stream of
Bytes, used when receiving bodies. - A cheaply cloneable and sliceable chunk of contiguous memory.
- Extractor and response for extensions.
- JSON Extractor / Response.
- Represents an HTTP request.
- The router type for composing handlers and services.
- Represents the scheme component of a URI
- Declaratively construct
Servicevalues. - An HTTP status code (
status-codein RFC 7230 et al.).
Enums
Traits
- Trait for async functions that can be used to handle requests.
- Trait representing a streaming body of a Request or Response.
- Decorates a
Service, transforming either the request or the response. - An asynchronous function from a
Requestto aResponse. - An extension trait for
Services that provides a variety of convenient adapters
Functions
- Returns a new [
ServiceFn] with the given closure.
Type Aliases
- A boxed
Bodytrait object. - Alias for a type-erased error type.
- Type alias for
http::Responsewhose body type defaults toBoxBody, the most common body type used with axum.