kraken_async_rs::crypto::nonce_provider

Trait NonceProvider

Source
pub trait NonceProvider:
    Send
    + Sync
    + Debug {
    // Required method
    fn get_nonce(&mut self) -> u64;
}
Expand description

A nonce generator that should be used to populate the nonce of every request created by a KrakenClient.

Required Methods§

Source

fn get_nonce(&mut self) -> u64

Implementors§