Skip to main content

Module repair_peer

Module repair_peer 

Source
Expand description

Peer-to-peer repair request/response framing.

All peer transport messages share a 1-byte frame type prefix followed by a dCBOR body. The consumer dispatches on the first byte.

Structs§

AttachmentAbort
AttachmentChunk
AttachmentChunkAck
PeerRepairNotFound
PeerRepairRequest
PeerRepairResponse

Enums§

FrameType
Frame type prefix byte for mesh peer transport messages.

Functions§

decode_attachment_abort
decode_attachment_chunk
decode_attachment_chunk_ack
decode_repair_not_found
decode_repair_request
decode_repair_response
encode_attachment_abort
encode_attachment_chunk
encode_attachment_chunk_ack
encode_repair_not_found
encode_repair_request
encode_repair_response
frame_type
Parse the frame type from the first byte. Returns None for unknown types.