Expand description
In-process transport.
inproc://<name> URLs address a named, in-memory channel. A
InprocListener registered under a name accepts connections from
InprocTransport peers that connect to the same name. Each
accepted connection is a pair of std::sync::mpsc channels
carrying owned byte vectors, giving a reliable, ordered, single-use
byte stream.
This transport exists for tests and single-process threshold- cryptography simulation — multiple party state machines running in one binary, exchanging protocol rounds through loopback channels.
Structs§
- Inproc
Kind - Registry kind for the in-process transport.
- Inproc
Listener - Listening endpoint for
inproc://connections. - Inproc
Transport - Connected in-process transport. Messages are framed as owned
Vec<u8>;sendpushes one,recvpops one into the caller’s buffer.