Trait EntropySource

Source
pub trait EntropySource:
    RngCore
    + RngReflectable
    + TypedSeed
    + Clone
    + Debug
    + PartialEq
    + Sync
    + Send
    + Serialize
    + for<'a> Deserialize<'a>
    + SealedSeedable { }
Expand description

A marker trait to define the required trait bounds for a seedable PRNG to integrate into Entropy or GlobalEntropy. This is a sealed trait.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§