Module libp2prs_core::transport [−][src]
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.
Modules
dummy | |
memory | |
protector | The |
timeout | Transports with timeouts on the connection setup. |
upgrade | Transport upgrader. |
Structs
Incoming |
Enums
ListenerEvent | Event produced by [ |
TransportError | An error during dialing or [accepting][Transport::IListener::accept]
on a |
Traits
ConnectionInfo | The trait for the connection, which is bound by Transport::Output mark as ‘Send’ due to Transport::Output must be ‘Send’ |
Transport | A transport provides connection-oriented communication between two peers through ordered streams of data (i.e. connections). |
TransportListener |
Type Definitions
IListener | Trait object for |
ITransport | Trait object for |