pub struct NonceClock { /* private fields */ }Expand description
One account’s nonces: milliseconds, strictly increasing. The venue keeps the highest nonces it has seen per signer and refuses a repeat, so each account holds its own clock. The time is passed in, since the browser and Workers have no std clock.
Implementations§
Trait Implementations§
Source§impl Clone for NonceClock
impl Clone for NonceClock
impl Copy for NonceClock
Source§impl Debug for NonceClock
impl Debug for NonceClock
Source§impl Default for NonceClock
impl Default for NonceClock
impl Eq for NonceClock
Source§impl PartialEq for NonceClock
impl PartialEq for NonceClock
impl StructuralPartialEq for NonceClock
Auto Trait Implementations§
impl Freeze for NonceClock
impl RefUnwindSafe for NonceClock
impl Send for NonceClock
impl Sync for NonceClock
impl Unpin for NonceClock
impl UnsafeUnpin for NonceClock
impl UnwindSafe for NonceClock
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.