Module riot_wrappers::msg

source ·
Expand description

Access to messages by explicit type indication


This overall method of sending and receiving messages provides no guarantees that even a pure-Rust thread doesn’t accidentally reuse a number or does something else to misuse ContainerMsg::recognize; a better interface is WIP in the v2 module.


A safe-to-use interface for RIOT messages


An initialized message of a type that needs no access to a value
An initialized message of a type whose payload is numeric
An initialized message with inaccessible value.


The source of a message


Helper trait to implement Msg for the various Msg value styles. This is not supposed to be public, but leaks due to the implementation.