linera_sdk::linera_base_types

Trait 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,