Trait linera_sdk::linera_base_types::CryptoRng

source ·
pub trait CryptoRng: CryptoRng + RngCore + Send + Sync { }
Expand description

Wrapper around rand::CryptoRng and rand::RngCore.

Trait Implementations§

source§

impl From<Option<u64>> for Box<dyn CryptoRng>

source§

fn from(seed: Option<u64>) -> Box<dyn CryptoRng>

Converts to this type from the input type.

Implementors§

source§

impl<T> CryptoRng for T
where T: CryptoRng + RngCore + Send + Sync,