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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".