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
Implementations
sourceimpl Header
impl Header
sourcepub fn local_mesg_num(&self) -> u8
pub fn local_mesg_num(&self) -> u8
Convenience method to access the local_mesg_num
field common to all Header
types.
Auto Trait Implementations
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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