Trait network_clique::NetworkIdentity 
source · pub trait NetworkIdentity {
    type PeerId: PeerId;
    type AddressingInformation: AddressingInformation<PeerId = Self::PeerId>;
    // Required method
    fn identity(&self) -> Self::AddressingInformation;
}Expand description
Abstraction for requesting own network addressing information.
Required Associated Types§
type PeerId: PeerId
type AddressingInformation: AddressingInformation<PeerId = Self::PeerId>
Required Methods§
sourcefn identity(&self) -> Self::AddressingInformation
 
fn identity(&self) -> Self::AddressingInformation
The external identity of this node.