pub struct PdTraceStateEvent {
pub state: PdTypeCState,
pub timestamp: Time,
}Expand description
One Type-C state transition with a one-second-resolution uptime timestamp.
Fields§
§state: PdTypeCState§timestamp: TimeDevice uptime when the transition was recorded.
Trait Implementations§
Source§impl Clone for PdTraceStateEvent
impl Clone for PdTraceStateEvent
impl Copy for PdTraceStateEvent
Source§impl Debug for PdTraceStateEvent
impl Debug for PdTraceStateEvent
Source§impl PartialEq for PdTraceStateEvent
impl PartialEq for PdTraceStateEvent
impl StructuralPartialEq for PdTraceStateEvent
Auto Trait Implementations§
impl Freeze for PdTraceStateEvent
impl RefUnwindSafe for PdTraceStateEvent
impl Send for PdTraceStateEvent
impl Sync for PdTraceStateEvent
impl Unpin for PdTraceStateEvent
impl UnsafeUnpin for PdTraceStateEvent
impl UnwindSafe for PdTraceStateEvent
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