#[repr(u8)]pub enum PdProtocolTraceEventKind {
Disabled = 0,
ReceivedMessage = 130,
ExtendedChunkRequest = 131,
Unknown(u8),
}Expand description
Firmware protocol-engine trace codes confirmed in KM003C V1.9.9.
Most values in this queue are internal protocol-engine states whose names are not present in the firmware. The two non-state markers below are emitted directly by the receive path and have independently recoverable semantics. All other values are preserved losslessly.
Variants§
Disabled = 0
The protocol engine was reset while the Type-C state detached.
ReceivedMessage = 130
A received PD message or extended-message chunk was processed.
ExtendedChunkRequest = 131
The receive path queued a request for the next extended-message chunk.
Unknown(u8)
Trait Implementations§
Source§impl Clone for PdProtocolTraceEventKind
impl Clone for PdProtocolTraceEventKind
impl Copy for PdProtocolTraceEventKind
Source§impl Debug for PdProtocolTraceEventKind
impl Debug for PdProtocolTraceEventKind
impl Eq for PdProtocolTraceEventKind
Source§impl From<PdProtocolTraceEventKind> for u8
impl From<PdProtocolTraceEventKind> for u8
Source§fn from(enum_value: PdProtocolTraceEventKind) -> Self
fn from(enum_value: PdProtocolTraceEventKind) -> Self
Converts to this type from the input type.
Source§impl From<u8> for PdProtocolTraceEventKind
impl From<u8> for PdProtocolTraceEventKind
Source§impl PartialEq for PdProtocolTraceEventKind
impl PartialEq for PdProtocolTraceEventKind
impl StructuralPartialEq for PdProtocolTraceEventKind
Auto Trait Implementations§
impl Freeze for PdProtocolTraceEventKind
impl RefUnwindSafe for PdProtocolTraceEventKind
impl Send for PdProtocolTraceEventKind
impl Sync for PdProtocolTraceEventKind
impl Unpin for PdProtocolTraceEventKind
impl UnsafeUnpin for PdProtocolTraceEventKind
impl UnwindSafe for PdProtocolTraceEventKind
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