Crate libp2p_yamux[][src]

Implements the Yamux multiplexing protocol for libp2p, see also the specification.

Structs

Config

The yamux configuration.

Incoming

The futures::stream::Stream of incoming substreams.

LocalConfig

The yamux configuration for upgrading I/O resources which are

Send

.

LocalIncoming

The futures::stream::Stream of incoming substreams (!Send).

OpenSubstreamToken

A token to poll for an outbound substream.

Yamux

A Yamux connection.

YamuxError

The Yamux libp2p_core::StreamMuxer error type.

Enums

Mode

How the connection is used.

WindowUpdateMode

Specifies when window update frames are sent.