[−][src]Function shortid::next_short_96
pub fn next_short_96(machine_id: [u8; 3], epoch: u64) -> Result<[u8; 12], Error>
for network
42 bit timestamp 819_200 ns * 2 ^ 42 (114 years)
14 bit sequence
16 bit worker_id (max threads number 65_536)
24 bit machine_id (max machines number 16_777_216 )
Big Endian Order
epoch: 100 nanosecond timestamp , unix epoch
Max IDs per Second : 20_000_000