Enum dlt_core::dlt::PayloadContent
source · [−]pub enum PayloadContent {
Verbose(Vec<Argument>),
NonVerbose(u32, Vec<u8>),
ControlMsg(ControlType, Vec<u8>),
}
Expand description
There are 3 different types of payload: * one for verbose messages, * one for non-verbose messages, * one for control-messages
For Non-Verbose mode (without Extended Header), a fibex file provides an additional description for the payload. With the combination of a Message ID and an external fibex description, following information is be recoverable (otherwise provided in the Extended Header): * Message Type (MSTP) * Message Info (MSIN) * Number of arguments (NOAR) * Application ID (APID) * Context ID (CTID)
Control messages are normal Dlt messages with a Standard Header, an Extended Header, and payload. The payload contains of the Service ID and the contained parameters.
Variants
Verbose(Vec<Argument>)
NonVerbose(u32, Vec<u8>)
ControlMsg(ControlType, Vec<u8>)
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PayloadContent
impl Send for PayloadContent
impl Sync for PayloadContent
impl Unpin for PayloadContent
impl UnwindSafe for PayloadContent
Blanket Implementations
Mutably borrows from an owned value. Read more