Module rocket::data

source ·
Expand description

Types and traits for handling incoming body data.

Structs

  • A unit of bytes with saturating const constructors and arithmetic.
  • Encapsulates a value capped to a data limit.
  • Type representing the body data of a request.
  • Raw data stream of a request body.
  • Mapping from (hierarchical) data types to size limits.
  • Number of bytes read/written and whether that consisted of the entire stream.

Traits

  • Trait implemented by data guards to derive a value from request body data.
  • Extension trait for conversion from integer types to ByteUnit.

Type Definitions