[][src]Module libp2p::core::nodes

Low-level networking primitives.

Contains structs that are aiming at providing very precise control over what happens over the network.

The more complete and highest-level struct is the Network. The Network directly or indirectly uses all the other structs of this module.

Modules

collection
handled_node
listeners

Manage listening on multiple multiaddresses at once.

network
node
tasks

Management of tasks handling nodes.

Structs

ListenerId

The ID of a single listener.

Network

Implementation of Stream that handles the nodes.

Enums

NetworkEvent

Event that can happen on the Network.

NodeHandlerEndpoint

Endpoint for a received substream.

NodeHandlerEvent

Event produced by a handler.

Peer

State of a peer in the system.

Traits

ConnectionInfo

Information about a connection.

Type Definitions

Substream

A successfully opened substream.