#[repr(u8)]
pub enum DataPid {
Show 104 variants PidSupport0120 = 0, StatusSinceDTCCleared = 1, FreezeDTC = 2, FuelSystemStatus = 3, CalculatedEngineLoad = 4, EngineCoolantTemp = 5, ShortTermFuelTrimBank1 = 6, LongTermFuelTrimBank1 = 7, ShortTermFuelTrimBank2 = 8, LongTermFuelTrimBank2 = 9, FuelPressureGauge = 10, IntakeManifoldAbsPressure = 11, EngineSpeed = 12, VehicleSpeed = 13, TimingAdvance = 14, IntakeAirTemperature = 15, MassAirFlow = 16, ThrottlePosition = 17, CommandedSecondaryAirStatus = 18, O2SensorsPresent2Banks = 19, OxygenSensor1 = 20, OxygenSensor2 = 21, OxygenSensor3 = 22, OxygenSensor4 = 23, OxygenSensor5 = 24, OxygenSensor6 = 25, OxygenSensor7 = 26, OxygenSensor8 = 27, ObdStandard = 28, O2SensorsPresent4Banks = 29, AuxInputStatus = 30, RuntimeSinceStart = 31, PidSupport2140 = 32, MILRuntime = 33, FuelRailPressure = 34, FuelRailGaugePressure = 35, OxygenSensor1LambdaVoltage = 36, OxygenSensor2LambdaVoltage = 37, OxygenSensor3LambdaVoltage = 38, OxygenSensor4LambdaVoltage = 39, OxygenSensor5LambdaVoltage = 40, OxygenSensor6LambdaVoltage = 41, OxygenSensor7LambdaVoltage = 42, OxygenSensor8LambdaVoltage = 43, CommandedEGR = 44, EGRError = 45, CommandedEvapPurge = 46, FuelTankLevelInput = 47, WarmupsSinceCodesCleared = 48, DistanceTraveledSinceCodesCleared = 49, EvapSystemVaporPressure = 50, AbsBarometricPressure = 51, OxygenSensor1LambdaCurrent = 52, OxygenSensor2LambdaCurrent = 53, OxygenSensor3LambdaCurrent = 54, OxygenSensor4LambdaCurrent = 55, OxygenSensor5LambdaCurrent = 56, OxygenSensor6LambdaCurrent = 57, OxygenSensor7LambdaCurrent = 58, OxygenSensor8LambdaCurrent = 59, CatTempBank1Sensor1 = 60, CatTempBank2Sensor1 = 61, CatTempBank1Sensor2 = 62, CatTempBank2Sensor2 = 63, PidSupport4160 = 64, MonitorStatusDriveCycle = 65, ControlModuleVoltage = 66, AbsLoadValue = 67, CommandedLambda = 68, RelativeThrottlePosition = 69, AmbientAirTemp = 70, AbsoluteThrottlePositionB = 71, AbsoluteThrottlePositionC = 72, AbsoluteThrottlePositionD = 73, AbsoluteThrottlePositionE = 74, AbsoluteThrottlePositionF = 75, CommandedThrottleActuator = 76, TimeRunSinceMILOn = 77, TimeSinceCodesCleared = 78, MaximumLambdaVoltageCurrentPressure = 79, MaximumAirFlowRate = 80, FuelType = 81, EthanolFuelPercentage = 82, AbsoluteEvapSystemVaporPressure = 83, EvapSystemVaporPressure2 = 84, ShortTermSecondaryOxygenSensorTrimBank1and3 = 85, LongTermSecondaryOxygenSensorTrimBank1and3 = 86, ShortTermSecondaryOxygenSensorTrimBank2and4 = 87, LongTermSecondaryOxygenSensorTrimBank2and4 = 88, FuelRailAbsPressure = 89, RelativePedalPosition = 90, HybridBatteryPackLife = 91, EngineOilTemp = 92, FuelInjectionTiming = 93, EngineFuelRate = 94, EmissionsStandard = 95, PidSupport6180 = 96, DriverDemandTorquePercent = 97, EngineTorquePercent = 98, EngineTorqueData = 99, AuxInputOutputSupport = 100, MassAirFlowSensor2 = 101, EngineCoolantTemp2 = 102, IntakeAirTemp2 = 103,
}
Expand description

OBD2 data PIDs used for Service 01 and 02

Variants§

§

PidSupport0120 = 0

§

StatusSinceDTCCleared = 1

§

FreezeDTC = 2

§

FuelSystemStatus = 3

§

CalculatedEngineLoad = 4

§

EngineCoolantTemp = 5

§

ShortTermFuelTrimBank1 = 6

§

LongTermFuelTrimBank1 = 7

§

ShortTermFuelTrimBank2 = 8

§

LongTermFuelTrimBank2 = 9

§

FuelPressureGauge = 10

§

IntakeManifoldAbsPressure = 11

§

EngineSpeed = 12

§

VehicleSpeed = 13

§

TimingAdvance = 14

§

IntakeAirTemperature = 15

§

MassAirFlow = 16

§

ThrottlePosition = 17

§

CommandedSecondaryAirStatus = 18

§

O2SensorsPresent2Banks = 19

§

OxygenSensor1 = 20

§

OxygenSensor2 = 21

§

OxygenSensor3 = 22

§

OxygenSensor4 = 23

§

OxygenSensor5 = 24

§

OxygenSensor6 = 25

§

OxygenSensor7 = 26

§

OxygenSensor8 = 27

§

ObdStandard = 28

§

O2SensorsPresent4Banks = 29

§

AuxInputStatus = 30

§

RuntimeSinceStart = 31

§

PidSupport2140 = 32

§

MILRuntime = 33

§

FuelRailPressure = 34

§

FuelRailGaugePressure = 35

§

OxygenSensor1LambdaVoltage = 36

§

OxygenSensor2LambdaVoltage = 37

§

OxygenSensor3LambdaVoltage = 38

§

OxygenSensor4LambdaVoltage = 39

§

OxygenSensor5LambdaVoltage = 40

§

OxygenSensor6LambdaVoltage = 41

§

OxygenSensor7LambdaVoltage = 42

§

OxygenSensor8LambdaVoltage = 43

§

CommandedEGR = 44

§

EGRError = 45

§

CommandedEvapPurge = 46

§

FuelTankLevelInput = 47

§

WarmupsSinceCodesCleared = 48

§

DistanceTraveledSinceCodesCleared = 49

§

EvapSystemVaporPressure = 50

§

AbsBarometricPressure = 51

§

OxygenSensor1LambdaCurrent = 52

§

OxygenSensor2LambdaCurrent = 53

§

OxygenSensor3LambdaCurrent = 54

§

OxygenSensor4LambdaCurrent = 55

§

OxygenSensor5LambdaCurrent = 56

§

OxygenSensor6LambdaCurrent = 57

§

OxygenSensor7LambdaCurrent = 58

§

OxygenSensor8LambdaCurrent = 59

§

CatTempBank1Sensor1 = 60

§

CatTempBank2Sensor1 = 61

§

CatTempBank1Sensor2 = 62

§

CatTempBank2Sensor2 = 63

§

PidSupport4160 = 64

§

MonitorStatusDriveCycle = 65

§

ControlModuleVoltage = 66

§

AbsLoadValue = 67

§

CommandedLambda = 68

§

RelativeThrottlePosition = 69

§

AmbientAirTemp = 70

§

AbsoluteThrottlePositionB = 71

§

AbsoluteThrottlePositionC = 72

§

AbsoluteThrottlePositionD = 73

§

AbsoluteThrottlePositionE = 74

§

AbsoluteThrottlePositionF = 75

§

CommandedThrottleActuator = 76

§

TimeRunSinceMILOn = 77

§

TimeSinceCodesCleared = 78

§

MaximumLambdaVoltageCurrentPressure = 79

§

MaximumAirFlowRate = 80

§

FuelType = 81

§

EthanolFuelPercentage = 82

§

AbsoluteEvapSystemVaporPressure = 83

§

EvapSystemVaporPressure2 = 84

§

ShortTermSecondaryOxygenSensorTrimBank1and3 = 85

§

LongTermSecondaryOxygenSensorTrimBank1and3 = 86

§

ShortTermSecondaryOxygenSensorTrimBank2and4 = 87

§

LongTermSecondaryOxygenSensorTrimBank2and4 = 88

§

FuelRailAbsPressure = 89

§

RelativePedalPosition = 90

§

HybridBatteryPackLife = 91

§

EngineOilTemp = 92

§

FuelInjectionTiming = 93

§

EngineFuelRate = 94

§

EmissionsStandard = 95

§

PidSupport6180 = 96

§

DriverDemandTorquePercent = 97

§

EngineTorquePercent = 98

§

EngineTorqueData = 99

§

AuxInputOutputSupport = 100

§

MassAirFlowSensor2 = 101

§

EngineCoolantTemp2 = 102

§

IntakeAirTemp2 = 103

Trait Implementations§

source§

impl Clone for DataPid

source§

fn clone(&self) -> DataPid

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 DataPid

source§

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

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

impl From<DataPid> for ByteWrapper<DataPid>

source§

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

Converts to this type from the input type.
source§

impl Ord for DataPid

source§

fn cmp(&self, other: &DataPid) -> 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 DataPid

source§

fn eq(&self, other: &DataPid) -> 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 DataPid

source§

fn partial_cmp(&self, other: &DataPid) -> 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 DataPid

§

type Error = &'static str

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

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

Performs the conversion.
source§

impl Copy for DataPid

source§

impl Eq for DataPid

source§

impl StructuralPartialEq for DataPid

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, 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.