pub trait AddressingInformation: Debug + Hash + Codec + Clone + Eq + Send + Sync + 'static {
type PeerId: PeerId;
// Required methods
fn peer_id(&self) -> Self::PeerId;
fn verify(&self) -> bool;
fn address(&self) -> String;
}
Expand description
Represents the address of an arbitrary node.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.