pub struct NUID { /* private fields */ }
Expand description
NUID needs to be very fast to generate and truly unique, all while being entropy pool friendly. We will use 12 bytes of crypto generated data (entropy draining), and 10 bytes of sequential data that is started at a pseudo random number and increments with a pseudo-random increment. Total is 22 bytes of base 62 ascii text :)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NUID
impl RefUnwindSafe for NUID
impl Send for NUID
impl Sync for NUID
impl Unpin for NUID
impl UnwindSafe for NUID
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more