Enum dlt_core::dlt::PayloadContent[][src]

pub enum PayloadContent {
    Verbose(Vec<Argument>),
    NonVerbose(u32Vec<u8>),
    ControlMsg(ControlTypeVec<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>)

Tuple Fields

NonVerbose(u32Vec<u8>)

Tuple Fields

0: u32
1: Vec<u8>

ControlMsg(ControlTypeVec<u8>)

Tuple Fields

1: Vec<u8>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.