Skip to main content

Module fixture_codec

Module fixture_codec 

Source
Expand description

Private local fixture messages. Each frame contains one positional Postcard value.

Enums§

Direction
The direction of a fixture call.

Constants§

HEADER_BYTES
One version/direction byte and the little-endian method ID.
MAX_BYTES
Maximum complete request or reply.

Functions§

decode
Decode exactly one complete, bounded fixture frame.
encode
Encode a fixed fixture call without growing the frame beyond its allowance.
header
Expected prefix for admission before copying the message body.

Type Aliases§

Error
A bounded fixture protocol refusal.