pub trait NonceGenerator: Send + Sync {
    fn generate(&self) -> Option<Vec<u8>>;
}
Expand description

An interface for generating nonces.

Required Methods§

Generates a nonce, if one is available. Otherwise, returns None.

Trait Implementations§

Formats the value using the given formatter. Read more

Implementations on Foreign Types§

Implementors§