Trait serde_encrypt_core::random::RngSingleton[][src]

pub trait RngSingleton {
    type D: DerefMut<Target = ChaCha12Rng>;
    fn instance() -> Self::D;
}
Expand description

RNG singleton

Associated Types

&mut ChaCha12Rng

Required methods

Singleton instance

Implementors