#[repr(transparent)]
pub struct PID(_);
Expand description
Protected ID which is a 6 bit ID with two parity bits
Creates a new PID object with given PID
Calculate the PID from an ID.
P0 = ID0 ⊕ ID1 ⊕ ID2 ⊕ ID4
P1 = ¬(ID1 ⊕ ID3 ⊕ ID4 ⊕ ID5)
Return if the associated frame uses the classic checksum (diagnostic IDs 60 and 61 or
special use IDs 62, 63)
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.