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§
Implementations§
Trait Implementations§
source§impl Clone for PayloadContent
impl Clone for PayloadContent
source§fn clone(&self) -> PayloadContent
fn clone(&self) -> PayloadContent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PayloadContent
impl Debug for PayloadContent
source§impl PartialEq<PayloadContent> for PayloadContent
impl PartialEq<PayloadContent> for PayloadContent
source§fn eq(&self, other: &PayloadContent) -> bool
fn eq(&self, other: &PayloadContent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PayloadContent
impl Serialize for PayloadContent
impl StructuralPartialEq for PayloadContent
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more