Expand description
Safe, idiomatic wrappers for the CFE Message Services (CFE_MSG) API.
This module provides MessageRef and MessageMut structs to safely create,
access, and modify the headers of CFE Software Bus messages. It operates on
Rust byte slices (&[u8] and &mut [u8]) to prevent common errors
associated with raw pointer manipulation.
Structs§
- CmdHeader
- A Command Header.
- Message
Mut - A safe, writeable wrapper around a CFE message byte slice.
- Message
Ref - A safe, read-only wrapper around a CFE message byte slice.
- MsgId
- A type-safe, zero-cost wrapper for a cFE Software Bus Message ID.
- TlmHeader
- A Telemetry Header.
Enums§
- MsgType
- The type of a cFE message (Command or Telemetry).
Functions§
- get_
next_ sequence_ count - Gets the next sequence count value, handling rollovers correctly.
- message_
string_ get - Copies a string from a fixed-size C-style char array within a message to a Rust buffer.
- message_
string_ set - Copies a Rust string slice into a fixed-size C-style char array within a message.