Enum ecu_diagnostics::obd2::ObdStandard
source · #[repr(u8)]pub enum ObdStandard {
Show 28 variants
OBD_II_CARB = 1,
OBD_EPA = 2,
OBD_OBD_II = 3,
OBD_I = 4,
NON_COMPLIANT = 5,
EOBD = 6,
EOBD_OBD_II = 7,
EOBD_OBD = 8,
EOBD_OBD_OBD_II = 9,
JOBD = 10,
JOBD_OBD_II = 11,
JOBD_EOBD = 12,
JOBD_EOBD_OBD_II = 13,
EMD = 17,
EMD_PLUS = 18,
HD_OBD_C = 19,
HD_OBD = 20,
WWH_OBD = 21,
HD_EOBD_I = 23,
HD_EOBD_I_N = 24,
HD_EOBD_II = 25,
HD_EOBD_II_N = 26,
OBDBR_1 = 28,
OBDBR_2 = 29,
KOBD = 30,
IOBD_I = 31,
IOBD_II = 32,
HD_EOBD_IV = 33,
}
Expand description
OBD Standard for PID 1C
Variants§
OBD_II_CARB = 1
OBD-II as defined by the CARB
OBD_EPA = 2
OBD as defined by the EPA
OBD_OBD_II = 3
OBD and OBD-II
OBD_I = 4
OBD-I
NON_COMPLIANT = 5
Not OBD Compliant
EOBD = 6
Europe OBD
EOBD_OBD_II = 7
Europe OBD and OBD-II
EOBD_OBD = 8
Europe OBD and OBD
EOBD_OBD_OBD_II = 9
Europe OBD, OBD and OBD-II
JOBD = 10
Japan OBD
JOBD_OBD_II = 11
Japan OBD and OBD-II
JOBD_EOBD = 12
Japan OBD and Europe OBD
JOBD_EOBD_OBD_II = 13
Japan OBD, Europe OBD and OBD-II
EMD = 17
Engine Manufacturer Diagnostics
EMD_PLUS = 18
Engine Manufacturer Diagnostics Enhanced
HD_OBD_C = 19
Heavy Duty OBD (Child/Partial)
HD_OBD = 20
Heavy duty OBD
WWH_OBD = 21
World wide harmonized OBD
HD_EOBD_I = 23
Heavy duty OBD Stage I without NOx control
HD_EOBD_I_N = 24
Heavy duty OBD Stage I with NOx control
HD_EOBD_II = 25
Heavy duty OBD Stage II without NOx control
HD_EOBD_II_N = 26
Heavy duty OBD Stage II with NOx control
OBDBR_1 = 28
Brazil OBD Phase 1
OBDBR_2 = 29
Brazil OBD Phase 2
KOBD = 30
Korean OBD
IOBD_I = 31
Indian OBD-I
IOBD_II = 32
Indian OBD-II
HD_EOBD_IV = 33
Heavy duty Euro OBD Stage VI
Trait Implementations§
source§impl Clone for ObdStandard
impl Clone for ObdStandard
source§fn clone(&self) -> ObdStandard
fn clone(&self) -> ObdStandard
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 ObdStandard
impl Debug for ObdStandard
source§impl Display for ObdStandard
impl Display for ObdStandard
source§impl From<ObdStandard> for ByteWrapper<ObdStandard>
impl From<ObdStandard> for ByteWrapper<ObdStandard>
source§fn from(value: ObdStandard) -> ByteWrapper<ObdStandard>
fn from(value: ObdStandard) -> ByteWrapper<ObdStandard>
Converts to this type from the input type.
source§impl Ord for ObdStandard
impl Ord for ObdStandard
source§fn cmp(&self, other: &ObdStandard) -> Ordering
fn cmp(&self, other: &ObdStandard) -> 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 ObdStandard
impl PartialEq for ObdStandard
source§fn eq(&self, other: &ObdStandard) -> bool
fn eq(&self, other: &ObdStandard) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ObdStandard
impl PartialOrd for ObdStandard
source§fn partial_cmp(&self, other: &ObdStandard) -> Option<Ordering>
fn partial_cmp(&self, other: &ObdStandard) -> 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 moresource§impl TryFrom<u8> for ObdStandard
impl TryFrom<u8> for ObdStandard
impl Copy for ObdStandard
impl Eq for ObdStandard
impl StructuralPartialEq for ObdStandard
Auto Trait Implementations§
impl Freeze for ObdStandard
impl RefUnwindSafe for ObdStandard
impl Send for ObdStandard
impl Sync for ObdStandard
impl Unpin for ObdStandard
impl UnwindSafe for ObdStandard
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