Enum ecu_diagnostics::dtc::DTCFormatType
source · pub enum DTCFormatType {
Iso15031_6,
Iso14229_1,
SaeJ1939_73,
Iso11992_4,
Unknown(u8),
TwoByteHexKwp,
}
Expand description
DTC name interpretation format specifier
Variants§
Iso15031_6
ISO15031-6 DTC Format
Iso14229_1
ISO14229-1 DTC Format
SaeJ1939_73
SAE J1939-73 DTC Format
Iso11992_4
ISO11992-4 DTC Format
Unknown(u8)
Unknown DTC Format
TwoByteHexKwp
2 byte hex (KWP2000)
Trait Implementations§
source§impl Clone for DTCFormatType
impl Clone for DTCFormatType
source§fn clone(&self) -> DTCFormatType
fn clone(&self) -> DTCFormatType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DTCFormatType
impl Debug for DTCFormatType
source§impl Ord for DTCFormatType
impl Ord for DTCFormatType
source§fn cmp(&self, other: &DTCFormatType) -> Ordering
fn cmp(&self, other: &DTCFormatType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DTCFormatType
impl PartialEq for DTCFormatType
source§fn eq(&self, other: &DTCFormatType) -> bool
fn eq(&self, other: &DTCFormatType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DTCFormatType
impl PartialOrd for DTCFormatType
source§fn partial_cmp(&self, other: &DTCFormatType) -> Option<Ordering>
fn partial_cmp(&self, other: &DTCFormatType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DTCFormatType
impl Eq for DTCFormatType
impl StructuralPartialEq for DTCFormatType
Auto Trait Implementations§
impl Freeze for DTCFormatType
impl RefUnwindSafe for DTCFormatType
impl Send for DTCFormatType
impl Sync for DTCFormatType
impl Unpin for DTCFormatType
impl UnwindSafe for DTCFormatType
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