pub trait TrySecretKeyFrom<T>: Key {
    // Required method
    fn try_sk_from(x: T) -> Result<Self::SecretKey, KeyError>;
}
Expand description

Attempt a value -> SecretKey conversion that consumes the input value. The opposite of TryIntoSecretKey.

Required Methods§

source

fn try_sk_from(x: T) -> Result<Self::SecretKey, KeyError>

Implementors§