Skip to main content

IdGenerator

Trait IdGenerator 

Source
pub trait IdGenerator: Send + Sync {
    // Required method
    fn next(&self) -> Uuid;
}
Expand description

Source of fresh UUIDs.

Required Methods§

Source

fn next(&self) -> Uuid

Produce a fresh identifier.

Implementors§