Crate rapace_transport_stream

Crate rapace_transport_stream 

Source
Expand description

rapace-transport-stream: TCP/Unix socket transport for rapace.

For cross-machine or cross-container communication.

§Wire Format

Each frame is sent as:

  • u32 LE: total frame length (64 + payload_len)
  • [u8; 64]: MsgDescHot as raw bytes (repr(C), POD)
  • [u8; payload_len]: payload bytes

§Characteristics

  • Length-prefixed frames for easy framing
  • Everything is owned buffers (no zero-copy on receive)
  • Full-duplex: send and receive can happen concurrently
  • Same RPC semantics as other transports

Structs§

StreamDecoder
Decoder for stream transport.
StreamEncoder
Encoder for stream transport.
StreamTransport
Stream-based transport implementation.