pub trait PublicKeyFrom<T>: Key + Sized {
    // Required method
    fn pk_from(x: T) -> Self;
}
Expand description

A value -> PublicKey conversion that consumes the input value. The opposite of IntoPublicKey.

Required Methods§

source

fn pk_from(x: T) -> Self

Implementors§