pub trait MdnsTopology: Topology {
    fn add_mdns_discovered_address(&mut self, peer: PeerId, addr: Multiaddr);
}
Expand description

Trait that must be implemented on the network topology for it to be usable with Mdns.

Required Methods§

Adds an address discovered by mDNS.

Will never be called with the local peer ID.

Implementations on Foreign Types§

Implementors§