pub struct SwarmPollParameters<'a> { /* private fields */ }
Expand description

Parameters passed to poll(), that the NetworkBehaviour has access to.

Trait Implementations§

Iterator returned by supported_protocols.
Iterator returned by listened_addresses.
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.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.