Module global

Module global 

Source

Structs§

MetadataByteArrayRef
A byte array in side-metadata
SideMetadataContext 🔒
This struct stores all the side metadata specs for a policy. Generally a policy needs to know its own side metadata spec as well as the plan’s specs.
SideMetadataSpec
This struct stores the specification of a side metadata bit-set. It is used as an input to the (inline) functions provided by the side metadata module.

Functions§

side_metadata_offset_after
Calculate the offset of the next side metadata spec after the given spec. This is used to calculate the offset field in crate::util::metadata::side_metadata::SideMetadataSpec.