Crate slot_range_helper
source ·Expand description
A helper macro for generating SlotRange
enum.
Re-exports
pub use paste;
Modules
Error handling with the
Result
type.Macros
This macro generates a
SlotRange
enum of arbitrary length for use in the Slot Auction
mechanism on Polkadot.Traits
The addition operator
+
.Performs subtraction that returns
None
instead of wrapping around on underflow.Trait that allows zero-copy read of value-references from slices in LE format.
Trait that allows zero-copy write of value-references to slices in LE format.