pub enum Header {
    Definition {
        local_mesg_num: u8,
    },
    Data {
        local_mesg_num: u8,
    },
    CompressedTimestamp {
        local_mesg_num: u8,
        time_offset: u8,
    },
}

Variants

Definition

Fields

local_mesg_num: u8

Data

Fields

local_mesg_num: u8

CompressedTimestamp

Fields

local_mesg_num: u8
time_offset: u8

Implementations

Convenience method to access the local_mesg_num field common to all Header types.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.