Skip to main content

dope_sys/table/permit/
raw.rs

1/// Exact scalar identity for a permit generation.
2/// # Safety
3/// `identity` is deterministic, non-panicking, non-reentrant, and injective across every key presented to one permit FIFO.
4pub unsafe trait Key: Copy {
5    fn identity(self) -> u64;
6}