pub trait TryIntoSecretKey<U: Key> {
    // Required method
    fn try_into_sk(self) -> Result<U::SecretKey, KeyError>;
}
Expand description

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

Required Methods§

source

fn try_into_sk(self) -> Result<U::SecretKey, KeyError>

Implementors§

source§

impl<T, U> TryIntoSecretKey<U> for Twhere U: TrySecretKeyFrom<T>,