Trait libes::key::conversion::TryPublicKeyFrom
source · pub trait TryPublicKeyFrom<T>: Key + Sized {
// Required method
fn try_pk_from(x: T) -> Result<Self, KeyError>;
}
Expand description
Attempt a value -> PublicKey
conversion that consumes the input value. The opposite of TryIntoPublicKey.