pub enum PayloadContent {
Verbose(Vec<Argument>),
NonVerbose(u32, Vec<u8>),
ControlMsg(ControlType, Vec<u8>),
NetworkTrace(Vec<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>)
NetworkTrace(Vec<Vec<u8>>)
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 for PayloadContent
impl PartialEq for PayloadContent
source§impl Serialize for PayloadContent
impl Serialize for PayloadContent
impl StructuralPartialEq for PayloadContent
Auto Trait Implementations§
impl Freeze for PayloadContent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)