#[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

source§

fn clone(&self) -> ObdStandard

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ObdStandard

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for ObdStandard

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<ObdStandard> for ByteWrapper<ObdStandard>

source§

fn from(value: ObdStandard) -> ByteWrapper<ObdStandard>

Converts to this type from the input type.
source§

impl Ord for ObdStandard

source§

fn cmp(&self, other: &ObdStandard) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ObdStandard

source§

fn eq(&self, other: &ObdStandard) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for ObdStandard

source§

fn partial_cmp(&self, other: &ObdStandard) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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 more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl TryFrom<u8> for ObdStandard

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from( value: u8 ) -> Result<ObdStandard, <ObdStandard as TryFrom<u8>>::Error>

Performs the conversion.
source§

impl Copy for ObdStandard

source§

impl Eq for ObdStandard

source§

impl StructuralPartialEq for ObdStandard

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.