Type Alias mz_ore::id_gen::AtomicIdGen

source ·
pub type AtomicIdGen = AtomicGen<u64>;
Expand description

A generator of u64-bit IDs.

Atomic version of IdGen, for sharing between threads.

Aliased Type§

struct AtomicIdGen {
    id: AtomicU64,
    phantom: PhantomData<u64>,
}

Fields§

§id: AtomicU64§phantom: PhantomData<u64>