Module libp2p_core::connection[][src]

Structs

Close

Future that signals the remote that we have closed the connection.

Connected

Information about a successfully established connection.

Connection

A multiplexed connection to a peer with an associated ConnectionHandler.

ConnectionCounters

Network connection information.

ConnectionId

Connection identifier.

ConnectionLimit

Information about a connection limit.

ConnectionLimits

The configurable connection limits.

EstablishedConnection

An established connection in a pool.

EstablishedConnectionIter

An iterator over established connections in a pool.

IncomingInfo

Borrowed information about an incoming connection currently being negotiated.

ListenerId

The ID of a single listener.

ListenersStream

Implementation of futures::Stream that allows listening on multiaddresses.

OutgoingInfo

Borrowed information about an outgoing connection currently being negotiated.

PendingConnection

A pending connection in a pool.

Enums

ConnectedPoint

The endpoint roles associated with a peer-to-peer connection.

ConnectionError

Errors that can occur in the context of an established Connection.

ConnectionHandlerEvent

Event produced by a handler.

Endpoint

The endpoint roles associated with a peer-to-peer communication channel.

Event

Event generated by a Connection.

ListenersEvent

Event that can happen on the ListenersStream.

PendingConnectionError

Errors that can occur in the context of a pending Connection.

SubstreamEndpoint

Endpoint for a received substream.

Traits

ConnectionHandler

The interface of a connection handler.

IntoConnectionHandler

Prototype for a ConnectionHandler.

Type Definitions

Substream

A successfully opened substream.