Struct libp2p_swarm::SwarmPollParameters [−][src]
pub struct SwarmPollParameters<'a> { /* fields omitted */ }
Expand description
Parameters passed to poll()
, that the NetworkBehaviour
has access to.
Trait Implementations
type SupportedProtocolsIter = IntoIter<Vec<u8>>
type SupportedProtocolsIter = IntoIter<Vec<u8>>
Iterator returned by supported_protocols
.
type ListenedAddressesIter = IntoIter<Multiaddr>
type ListenedAddressesIter = IntoIter<Multiaddr>
Iterator returned by listened_addresses
.
type ExternalAddressesIter = AddressIntoIter
type ExternalAddressesIter = AddressIntoIter
Iterator returned by external_addresses
.
Returns the list of protocol the behaviour supports when a remote negotiates a protocol on an inbound substream. Read more
Returns the list of the addresses we’re listening on.
Returns the list of the addresses nodes can use to reach us.
Returns the peer id of the local node.