Expand description
Rust version of the Twitter snowflake algorithm
.
Structs
The SnowflakeIdBucket
type is snowflake-id-bucket it easy to get id also have a id buffer.
The SnowflakeIdGenerator
type is snowflake algorithm wrapper.
Functions
Get the latest milliseconds of the clock.