Module idgenerator::generator
source · [−]Expand description
Generator
Core of the unique id generator
Contains the implementation of the snowflake algorithm and the wrapper as CoreIdGenerator
Structs
Wrapper of the snowflake algorithm worker. Provide public interfaces to initialize a generator, set options, get options and get a unique id.