Crate slot_range_helper
source ·Expand description
A helper macro for generating SlotRange enum.
Re-exports
pub use paste;
Modules
- Error handling with the
Resulttype.
Macros
- This macro generates a
SlotRangeenum of arbitrary length for use in the Slot Auction mechanism on Polkadot.
Traits
- The addition operator
+. - Performs subtraction that returns
Noneinstead 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.
Derive Macros
- Derive
parity_scale_codec::Decodeand for struct and enum. - Derive
parity_scale_codec::Encodeandparity_scale_codec::EncodeLikefor struct and enum.