pub trait PublicKey {
// Required method
fn is_ecdsa_pubkey(&self) -> bool;
// Provided method
fn is_pubkey(&self) -> bool { ... }
}
pub trait PublicKey {
// Required method
fn is_ecdsa_pubkey(&self) -> bool;
// Provided method
fn is_pubkey(&self) -> bool { ... }
}