pub trait HasRelayIdsLegacy {
// Required methods
fn ed_identity(&self) -> &Ed25519Identity;
fn rsa_identity(&self) -> &RsaIdentity;
}
Expand description
Legacy implementation helper for HasRelayIds.
Previously, we assumed that everything had these two identity types, which is not an assumption we want to keep making in the future.
Required Methods§
Sourcefn ed_identity(&self) -> &Ed25519Identity
fn ed_identity(&self) -> &Ed25519Identity
Return the ed25519 identity for this relay.
Sourcefn rsa_identity(&self) -> &RsaIdentity
fn rsa_identity(&self) -> &RsaIdentity
Return the RSA identity for this relay.