#[repr(u8)]pub enum FrameHeaderType {
    Middle = 0,
    First = 1,
    Last = 2,
    Single = 3,
}Expand description
Specifies the type of frame header, whether the data of a packet is contained in a single frame, or if it was too large and broken up into multiple frames for transmission.
Variants§
Middle = 0
This frame is neither the first or the last of a multi-frame packet
First = 1
This is the first frame of a multi-frame packet
Last = 2
This is the last frame of a multi-frame packet
Single = 3
The packet is contained in a single frame
Trait Implementations§
Source§impl Debug for FrameHeaderType
 
impl Debug for FrameHeaderType
Source§impl From<FrameHeaderType> for u8
 
impl From<FrameHeaderType> for u8
Source§fn from(value: FrameHeaderType) -> Self
 
fn from(value: FrameHeaderType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for FrameHeaderType
 
impl From<u8> for FrameHeaderType
Source§impl PartialEq for FrameHeaderType
 
impl PartialEq for FrameHeaderType
impl StructuralPartialEq for FrameHeaderType
Auto Trait Implementations§
impl Freeze for FrameHeaderType
impl RefUnwindSafe for FrameHeaderType
impl Send for FrameHeaderType
impl Sync for FrameHeaderType
impl Unpin for FrameHeaderType
impl UnwindSafe for FrameHeaderType
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