pub struct PdTrace {
pub state_events: Vec<PdTraceStateEvent>,
pub protocol_events: Vec<PdTraceProtocolEvent>,
}Expand description
Two trace queues returned by the KM003C USB PD state machine.
Fields§
§state_events: Vec<PdTraceStateEvent>High-level USB PD state transitions.
protocol_events: Vec<PdTraceProtocolEvent>Protocol and message-processing events.
Implementations§
Trait Implementations§
impl StructuralPartialEq for PdTrace
Auto Trait Implementations§
impl Freeze for PdTrace
impl RefUnwindSafe for PdTrace
impl Send for PdTrace
impl Sync for PdTrace
impl Unpin for PdTrace
impl UnsafeUnpin for PdTrace
impl UnwindSafe for PdTrace
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