pub trait NonceProvider: Send + Sync {
// Required methods
fn next_nonce(&self) -> u64;
fn current_nonce(&self) -> u64;
}Required Methods§
fn next_nonce(&self) -> u64
fn current_nonce(&self) -> u64
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".