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

Attempt a value -> PublicKey conversion that consumes the input value. The opposite of TryPublicKeyFrom.

Required Methods§

Implementors§

source§

impl<T, U> TryIntoPublicKey<U> for Twhere U: TryPublicKeyFrom<T>,