[−][src]Crate yamux
Implementation of yamux, a multiplexer over reliable, ordered connections, such as TCP/IP.
The two primary objects, clients of this crate interact with, are Connection
and
StreamHandle
. The former wraps the underlying connection and multiplexes StreamHandle
s
which implement tokio_io::AsyncRead
and tokio_io::AsyncWrite
over it.
Connection
implements futures::Stream
yielding StreamHandle
s for inbound connection
attempts.
Structs
Config | Yamux configuration. |
Connection | Holds the underlying connection. |
StreamHandle | A handle to a multiplexed stream. |
Enums
ConnectionError | |
DecodeError | |
Mode | |
State | |
WindowUpdateMode | Specifies when window update frames are sent. |