Zer0 Proto Mp
Frames and Wire
The frame API exposes ChannelId, Frame, and MessageType; wire helpers encode/decode varints.
Workflow and current contract
The frame API exposes ChannelId, Frame, and MessageType; wire helpers encode/decode varints. Use these declarations to inspect a protocol implementation, while the mux and channel APIs manage normal application traffic.
A decoded frame is only a framing result. Message schema checks, authenticated transport, and application authorization are distinct responsibilities. Bounds and malformed-input errors must propagate to the caller.
Source reference
framedeclarations —libs/zer0-proto-mp/src/frame.rs.wiredeclarations —libs/zer0-proto-mp/src/wire.rs.configdeclarations —libs/zer0-proto-mp/src/config.rs.