[−][src]Function shortid::next_short_64
pub fn next_short_64(epoch: u64) -> Result<[u8; 8], Error>
for standalone
42 bit timestamp 819_200 ns * 2 ^ 42 (114 years)
14 bit sequence
8 bit worker_id (max threads number 256)
epoch: 100 nanosecond timestamp , unix epoch
Max IDs per Second : 20_000_000