Module libp2p::core[][src]

Transports, upgrades, multiplexing and node handling of libp2p.

The main concepts of libp2p-core are:

Modules

connection
either
identity

A node’s network identity keys.

multiaddr
muxing

Muxing is the process of splitting a connection into multiple substreams.

network
transport

Connection-oriented communication channels.

upgrade

Contains everything related to upgrading a connection or a substream to use a protocol.

Structs

Connected

Information about a successfully established connection.

Multiaddr

Representation of a Multiaddr.

Network

Implementation of Stream that handles the nodes.

PeerId

Identifier of a peer of the network.

Enums

ConnectedPoint

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

Endpoint

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

PublicKey

The public key of a node’s identity keypair.

UpgradeError

Error that can happen when upgrading a connection or substream to use a protocol.

Traits

ConnectionInfo

Information about a connection.

Executor

Implemented on objects that can run a Future in the background.

InboundUpgrade

Possible upgrade on an inbound connection or substream.

OutboundUpgrade

Possible upgrade on an outbound connection or substream.

ProtocolName

Types serving as protocol names.

StreamMuxer

Implemented on objects that can open and manage substreams.

Transport

A transport provides connection-oriented communication between two peers through ordered streams of data (i.e. connections).

UpgradeInfo

Common trait for upgrades that can be applied on inbound substreams, outbound substreams, or both.

Functions

address_translation

Perform IP address translation.

Type Definitions

Negotiated