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.
  • A bidirectional, raw stream to the client.
  • Mapping from (hierarchical) data types to size limits.
  • Number of bytes read/written and whether that consisted of the entire stream.
  • A buffer of transformable streaming data.

Enums§

Traits§

  • Trait implemented by data guards to derive a value from request body data.
  • An upgraded connection I/O handler.
  • Extension trait for conversion from integer types to ByteUnit.
  • Chainable, in-place, streaming data transformer.

Type Aliases§