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
sourceimpl PayloadContent
impl PayloadContent
Trait Implementations
sourceimpl Clone for PayloadContent
impl Clone for PayloadContent
sourcefn clone(&self) -> PayloadContent
fn clone(&self) -> PayloadContent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PayloadContent
impl Debug for PayloadContent
sourceimpl PartialEq<PayloadContent> for PayloadContent
impl PartialEq<PayloadContent> for PayloadContent
sourcefn eq(&self, other: &PayloadContent) -> bool
fn eq(&self, other: &PayloadContent) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more