Expand description
base traits for implementing helper code
good use case could be for implementing different waiter functions or ways of getting ids from the base struct
Traitsยง
- From
IdGenerator - defines how to generate self from an IdGenerator
- Id
- basic Snowflake structure
- IdGenerator
- basics of an id generator
- IdGenerator
Mut - similar to
IdGeneratorbut allows for mutating - Next
Avail Id - for retrieving the duration of the next available id