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§
source§impl ExtendedHeader
impl ExtendedHeader
pub fn as_bytes(self: &ExtendedHeader) -> Vec<u8>
pub fn skip_with_level(self: &ExtendedHeader, level: LogLevel) -> bool
Trait Implementations§
source§impl Clone for ExtendedHeader
impl Clone for ExtendedHeader
source§fn clone(&self) -> ExtendedHeader
fn clone(&self) -> ExtendedHeader
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 ExtendedHeader
impl Debug for ExtendedHeader
source§impl PartialEq for ExtendedHeader
impl PartialEq for ExtendedHeader
source§impl Serialize for ExtendedHeader
impl Serialize for ExtendedHeader
impl StructuralPartialEq for ExtendedHeader
Auto Trait Implementations§
impl Freeze for ExtendedHeader
impl RefUnwindSafe for ExtendedHeader
impl Send for ExtendedHeader
impl Sync for ExtendedHeader
impl Unpin for ExtendedHeader
impl UnwindSafe for ExtendedHeader
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
)