Trait zng_unique_id::UniqueId

source ·
pub trait UniqueId:
    Clone
    + Copy
    + PartialEq
    + Eq
    + Hash {
    // Required method
    fn new_unique() -> Self;
}
Expand description

Trait implemented for all generated unique ID types.

Required Methods§

source

fn new_unique() -> Self

New unique ID.

Object Safety§

This trait is not object safe.

Implementors§