#[repr(transparent)]pub struct Nonce(pub u128);Expand description
A nonce for avoiding object ID collision.
Tuple Fields§
§0: u128Trait Implementations§
Source§impl Ord for Nonce
impl Ord for Nonce
Source§impl PartialOrd for Nonce
impl PartialOrd for Nonce
impl Copy for Nonce
impl Eq for Nonce
impl StructuralPartialEq for Nonce
Auto Trait Implementations§
impl Freeze for Nonce
impl RefUnwindSafe for Nonce
impl Send for Nonce
impl StoreCopy for Nonce
impl Sync for Nonce
impl Unpin for Nonce
impl UnwindSafe for Nonce
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