pub trait NetworkStateInfo {
    fn external_addresses(&self) -> Vec<Multiaddr, Global> ;
    fn local_peer_id(&self) -> PeerId;
}
Expand description

Trait for providing information about the local network state

Required Methods

Returns the local external addresses.

Returns the local Peer ID.

Implementations on Foreign Types

Implementors