Module quic_rpc::transport::mem

source ·
Expand description

Memory channel implementation

This is currently based on flume, but since no flume types are exposed it can be changed to another mpmc channel implementation, like crossbeam.

Structs

Future returned by accept_bi
Types for mem channels.
A mem channel
Future returned by accept_bi
RecvStream for mem channels
SendSink for mem channels
A mem channel

Enums

AcceptBiError for mem channels.
CreateChannelError for mem channels.
OpenBiError for mem channels.
Error when receiving from a channel
SendError for mem channels.

Functions

Create a channel pair (server, client) for mem channels