Skip to main content

Crate sa3p_protocol

Crate sa3p_protocol 

Source
Expand description

Binary framing and multiplexing primitives for SA3P transport boundaries.

Frame layout: [MAGIC 4B][STREAM_ID 4B][OPCODE 1B][PAYLOAD_LEN 4B][PAYLOAD]

This crate includes incremental decoding (FrameCodec) and stream queues (Multiplexer) for socket or vsock transports.

Structs§

Frame
FrameCodec
Multiplexer

Enums§

Opcode
ProtocolError

Constants§

MAGIC

Functions§

decode_frame
frame_from_instruction