Type Definition libp2p_core::transport::memory::Channel[][src]

pub type Channel<T> = RwStreamSink<Chan<T>>;
Expand description

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

Implements AsyncRead and AsyncWrite.