[−][src]Module libp2p::core::transport
Connection-oriented communication channels.
The main entity of this module is the [Transport
] trait, which provides an
interface for establishing connections with other nodes, thereby negotiating
any desired protocols. The rest of the module defines combinators for
modifying a transport through composition with other transports or protocol upgrades.
Modules
and_then | |
boxed | |
choice | |
dummy | |
map | |
map_err | |
memory | |
timeout | Transports with timeouts on the connection setup. |
upgrade | Configuration of transport protocol upgrades. |
Structs
MemoryTransport | Transport that supports |
OptionalTransport | Transport that is possibly disabled. |
OrTransport | Struct returned by |
Upgrade | An upgrade on an authenticated, non-multiplexed |
Enums
ListenerEvent | Event produced by |
TransportError |
Traits
Transport | A transport provides connection-oriented communication between two peers through ordered streams of data (i.e. connections). |