Struct dlt_core::dlt::ExtendedHeader
source · pub struct ExtendedHeader {
pub verbose: bool,
pub argument_count: u8,
pub message_type: MessageType,
pub application_id: String,
pub context_id: String,
}
Expand description
The Extended header contains additional information about a DLT message.
In case the UEH
bit of the Standard Header is set go 1
, additional
information is transmitted which are defined in the Dlt Extended Header
format.
The Dlt Extended Header is directly attached after the Dlt Standard Header fields.
The Extended Header shall be in big endian format
Fields
verbose: bool
argument_count: u8
message_type: MessageType
application_id: String
context_id: String
Implementations
sourceimpl ExtendedHeader
impl ExtendedHeader
pub fn as_bytes(self: &ExtendedHeader) -> Vec<u8>
pub fn skip_with_level(self: &ExtendedHeader, level: LogLevel) -> bool
Trait Implementations
sourceimpl Clone for ExtendedHeader
impl Clone for ExtendedHeader
sourcefn clone(&self) -> ExtendedHeader
fn clone(&self) -> ExtendedHeader
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 ExtendedHeader
impl Debug for ExtendedHeader
sourceimpl PartialEq<ExtendedHeader> for ExtendedHeader
impl PartialEq<ExtendedHeader> for ExtendedHeader
sourcefn eq(&self, other: &ExtendedHeader) -> bool
fn eq(&self, other: &ExtendedHeader) -> bool
sourceimpl Serialize for ExtendedHeader
impl Serialize for ExtendedHeader
impl StructuralPartialEq for ExtendedHeader
Auto Trait Implementations
impl RefUnwindSafe for ExtendedHeader
impl Send for ExtendedHeader
impl Sync for ExtendedHeader
impl Unpin for ExtendedHeader
impl UnwindSafe for ExtendedHeader
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