pub trait SecretKeyFrom<T>: Key {
    // Required method
    fn sk_from(x: T) -> Self::SecretKey;
}
Expand description

A value -> SecretKey conversion that consumes the input value. The opposite of IntoSecretKey.

Required Methods§

source

fn sk_from(x: T) -> Self::SecretKey

Implementors§