Skip to main content

Module fixture_wire

Module fixture_wire 

Source
Expand description

Bounded sparse frames around the private console’s positional Serde contracts.

Structs§

ByteBuf
Published Serde bulk byte types; ByteArray includes a length prefix, unlike an ordinary [u8; N]. Changing field representation requires consumer review. Wrapper around Vec<u8> to serialize and deserialize efficiently.
Limits
Consumer-selected Serde traversal allowances.

Enums§

Direction
Direction carried by the last header byte.
Encoding
Interpretation of the input byte span.
Error
Wire failure categories, independent of transport and application errors.
LimitKind
The first allowance that refused an operation.

Functions§

decode
Decode the positional body and validate any unrecognized extension fields.
encode
Encode a complete Canic frame or payload.
validate_request_header
Admit an exact 11-byte request header before copying its payload.