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§
- Attachment
Abort - Attachment
Chunk - Attachment
Chunk Ack - Peer
Repair NotFound - Peer
Repair Request - Peer
Repair Response
Enums§
- Frame
Type - 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
Nonefor unknown types.