Trait UniqueId

Source
pub trait UniqueId {
    type Type;

    // Required method
    fn inc(&self) -> Self::Type;
}

Required Associated Types§

Required Methods§

Source

fn inc(&self) -> Self::Type

Implementations on Foreign Types§

Source§

impl UniqueId for AtomicU64

Source§

type Type = u64

Source§

fn inc(&self) -> Self::Type

Implementors§