Module transport

Source
Expand description

Length-delimited framed local-socket transport (Tokio).

This module provides a Tokio-based implementation of framed connections over local sockets using a length-delimited codec. It includes both the client and server sides, allowing for bidirectional communication between processes on the same machine.

The implementation is based on Tokio’s asynchronous runtime and interprocess crate for local socket communication. It provides a high-level API for sending and receiving framed messages, as well as managing connections and listeners.

Structs§

LocalSocketFramedConnection
Concrete framed connection over a Tokio local socket using a length-delimited codec.
LocalSocketTransportFactory
Concrete transport factory based on Tokio local sockets.
LocalSocketTransportListener
Transport listener for Tokio local sockets.

Traits§

FramedConnection
A framed, length-delimited, duplex connection. Multiplexing is layered above this.
TransportFactory
Factory to connect or accept connections using local sockets.
TransportListener