Module yamux

Module yamux 

Source
Expand description

This crate implements the Yamux specification.

It multiplexes independent I/O streams over reliable, ordered connections, such as TCP/IP.

The three primary objects, clients of this crate interact with, are:

Structs§

Config
Yamux configuration.
Connection
Control
A Yamux Connection controller.
ControlledConnection
Wraps a Connection which can be controlled with a Control.
Packet
Byte data produced by the futures::stream::Stream impl of Stream.
Stream
A multiplexed Yamux stream.
StreamId
The ID of a stream.

Enums§

ConnectionError
The various error cases a connection may encounter.
FrameDecodeError
Possible errors while decoding a message frame.
HeaderDecodeError
Possible errors while decoding a message frame header.
Mode
How the connection is used.
WindowUpdateMode
Specifies when window update frames are sent.

Constants§

DEFAULT_CREDIT

Type Aliases§

Result