Crate value_bag

source ·
Expand description

Structured values.

This crate contains the ValueBag type, a container for an anonymous structured value. ValueBags can be captured in various ways and then formatted, inspected, and serialized without losing their original structure.

The producer of a ValueBag may use a different strategy for capturing than the eventual consumer. They don’t need to coordinate directly.

Modules

  • Deferred value initialization.
  • Value inspection.

Structs

  • An error encountered while working with structured data.
  • A dynamic structured value.