Module riot_wrappers::msg

source ·
Available on riot_module_core_msg only.
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.



  • 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.



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