Expand description
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
- Transports with timeouts on the connection setup.
- Configuration of transport protocol upgrades.
Structs
- A
Boxedtransport is aTransportwhoseDial,ListenerandListenerUpgradefutures areBoxed and only theOutputandErrortypes are captured in type variables. - The ID of a single listener.
- Transport that supports
/memory/Nmultiaddresses. - Transport that is possibly disabled.
- Struct returned by
or_transport(). - A custom upgrade on an
Authenticatedtransport.
Enums
- Event produced by
Transports.
Traits
- A transport provides connection-oriented communication between two peers through ordered streams of data (i.e. connections).