Crate sbor

Source

Re-exports§

Modules§

  • SBOR basic, no custom types
  • SBOR Categorize trait
  • SBOR codec for core Rust types.
  • SBOR constants
  • SBOR decode trait.
  • SBOR decoding.
  • SBOR encode trait.
  • SBOR payload wrappers. These are new types around an encoded payload or sub-payload, with helper methods / traits implemented. They can be used as a more efficient wrapper a ScryptoValue if the content of that value is not needed.
  • SBOR encoding.
  • SBOR paths.
  • SBOR payload validation.
  • Each module should have its own prelude, which:
  • SBOR textual representations
  • A facade of Rust types.
  • SBOR Schema
  • SBOR structured payload traversal.
  • SBOR value model and any decoding/encoding.
  • SBOR value kinds - ie the types of value that are supported.
  • Simpler traits specific to encodability/decodability against vec-based encoders/decoders
  • Data model versioning helper macro

Macros§

Structs§

Traits§

  • This trait is output for unique unskipped single children of enum variants, when #[sbor(impl_variant_traits)] is specified on an Enum or #[sbor(impl_variant_trait)] is specified on a single Enum variant.

Derive Macros§