Macros§
- eager_
replace - NOTE: This should probably be moved out of sbor to its own crate.
Derive Macros§
- Basic
Categorize - Derive code that returns the value kind - specifically for Basic SBOR.
- Basic
Decode - Derive code that decodes this data structure from a byte array - specifically for Basic SBOR.
- Basic
Describe - Derive code that describes the type - specifically for Basic SBOR.
- Basic
Encode - Derive code that encodes this data structure - specifically for Basic SBOR.
- Basic
Sbor - A shortcut for
BasicCategorize
,BasicEncode
,BasicDecode
, andBasicDescribe
derives. - Basic
Sbor Assertion - A macro for outputting tests and marker traits to assert that a type has maintained its shape over time.
- Categorize
- Derive code that returns the value kind.
- Decode
- Derive code that decodes this data structure from a byte array.
- Describe
- Derive code that describes this type.
- Encode
- Derive code that encodes this data structure
- Permit
Sbor Attributes - An empty derive which exists solely to allow the helper “sbor” attribute to be used without generating a compile error.
- Sbor
- A shortcut for
Categorize
,Encode
,Decode
, andDescribe
derives.