pub trait EncodableKeypair: EncodableKey {
type Pubkey: ToString;
// Required method
fn encodable_pubkey(&self) -> Self::Pubkey;
}
Expand description
The EncodableKeypair
trait extends EncodableKey
for asymmetric keypairs, i.e. have
associated public keys.
Required Associated Types§
Required Methods§
sourcefn encodable_pubkey(&self) -> Self::Pubkey
fn encodable_pubkey(&self) -> Self::Pubkey
Returns an encodable representation of the associated public key.
Object Safety§
This trait is not object safe.