#[repr(u8)]pub enum TlpFmt {
NoDataHeader3DW = 0,
NoDataHeader4DW = 1,
WithDataHeader3DW = 2,
WithDataHeader4DW = 3,
TlpPrefix = 4,
}Expand description
TLP format field encoding — encodes header size and whether a data payload is present.
Variants§
NoDataHeader3DW = 0
3 DW header, no data payload.
NoDataHeader4DW = 1
4 DW header, no data payload.
WithDataHeader3DW = 2
3 DW header with data payload.
WithDataHeader4DW = 3
4 DW header with data payload.
TlpPrefix = 4
TLP Prefix (not a request or completion).
Trait Implementations§
impl Copy for TlpFmt
impl StructuralPartialEq for TlpFmt
Auto Trait Implementations§
impl Freeze for TlpFmt
impl RefUnwindSafe for TlpFmt
impl Send for TlpFmt
impl Sync for TlpFmt
impl Unpin for TlpFmt
impl UnsafeUnpin for TlpFmt
impl UnwindSafe for TlpFmt
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