Skip to main content

Module frame

Module frame 

Source
Expand description

The complete wire frame: the decoded envelope header plus its opaque body.

Frame is the natural companion to EnvelopeHeader — a header and the len opaque body bytes that follow it. It is pure data (no async, no tokio); the async read/write loop lives in subc-transport, the crate that owns the authenticated stream.

Structs§

Frame
A complete wire frame: the decoded envelope header plus its opaque body.

Enums§

FrameBuildError
Why a frame could not be constructed or emitted coherently.