Crate connection_utils

Source

Modules§

codecs
mocks
test
types

Structs§

DuplexStream
Join AsyncRead and AsyncWrite into a single AsyncRead + AsyncWrite object.
TransportChannel
TransportConnection

Traits§

Channel
Connected
Disconnected

Functions§

channel_into_framed_stream
Create a mpsc channel that points to the framed stream.
create_framed_stream
Creates a new framed stream out of a channel.
divide_channel
Divides a channel into two.
divide_into_framed_streams
Creates a new framed stream out of a channel.
divide_stream
Divides a stream into two. Returns two channels since channels are more powerful while still implement the same traits as the streams do.

Type Aliases§

TDataReader
TDataWriter
TOnRemoteChannelReader