Struct dlt_core::dlt::StandardHeader
source · [−]pub struct StandardHeader {
pub version: u8,
pub endianness: Endianness,
pub has_extended_header: bool,
pub message_counter: u8,
pub ecu_id: Option<String>,
pub session_id: Option<u32>,
pub timestamp: Option<u32>,
pub payload_length: u16,
}
Expand description
The Standard Header shall be in big endian format
Fields
version: u8
endianness: Endianness
has_extended_header: bool
message_counter: u8
ecu_id: Option<String>
session_id: Option<u32>
timestamp: Option<u32>
payload_length: u16
Implementations
compute length of complete dlt message without storage header header + extended-header + payload
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 StandardHeader
impl Send for StandardHeader
impl Sync for StandardHeader
impl Unpin for StandardHeader
impl UnwindSafe for StandardHeader
Blanket Implementations
Mutably borrows from an owned value. Read more