[][src]Module libp2p_core::transport::memory

Structs

Chan

A channel represents an established, in-memory, logical connection between two endpoints.

Dialer

Dialing end of the memory transport.

Listener

Receiving end of the memory transport.

Enums

MemoryTransportError

Error that can be produced from the MemoryTransport.

Functions

connector

Builds a new pair of Transports. The dialer can reach the listener by dialing /memory.

connector_custom_type

Same as connector(), but allows customizing the type used for transmitting packets between the two endpoints.

Type Definitions

Channel

A channel represents an established, in-memory, logical connection between two endpoints.