Crate brec_macros

Crate brec_macros 

Source
Expand description

brec_macros is a component of the brec crate. While it can technically be used independently, it does not provide the full functionality that brec offers on its own.

brec is a toolkit for quickly and easily creating custom message exchange protocols with built-in resilience to data corruption and the ability to extract messages from mixed streams (i.e., streams that contain both brec packets and arbitrary non-brec data).

For complete documentation and usage details, please visit the main brec repository.

Macros§

generate
Inserts the generated glue code that connects user-defined Block and Payload types with the brec framework.

Attribute Macros§

block
Marks a struct as a Block type used within the brec system.
payload
Marks a user-defined type as a Payload for use in brec-compatible binary streams.