pub trait FromEntropy {
    type E: Error;

    fn from_entropy(entropy: &[u8]) -> Result<Self, Self::E>
    where
        Self: Sized
; }
Expand description

Construct a value from user-provided entropy.

Required Associated Types§

Required Methods§

Construct a value from user-provided entropy.

Returns a value from entropy or error.

Implementors§