Trait libes::key::conversion::TrySecretKeyFrom
source · 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.