Skip to main content

Key

Trait Key 

Source
pub unsafe trait Key: Copy {
    // Required method
    fn identity(self) -> u64;
}
Expand description

Exact scalar identity for a permit generation.

§Safety

identity is deterministic, non-panicking, non-reentrant, and injective across every key presented to one permit FIFO.

Required Methods§

Source

fn identity(self) -> u64

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§