Module id

Source
Expand description

RPC message identifiers. Provides Id32 and Id64 defaults (based on u32 and u64 respectively) and allows for a custom construction of RPC message ids using the Generator trait.

Structs§

Id32
RPC message id represented by a u32 type
Id64
RPC message id represented by a u64 type

Traits§

Generator
Id generation trait. This is typically meant to be a random number generator for a custom message Id, but you can also define it to use a sequential generation.
IdT
Trait representing RPC message Id trait constraints