Enum ecu_diagnostics::obd2::FuelSystemStatus
source · #[repr(u8)]pub enum FuelSystemStatus {
Off = 0,
OpenLoopLowTemp = 1,
ClosedLoopO2Feedback = 2,
OpenLoopEngineLoad = 4,
OpenLoopSystemFailure = 8,
ClosedLoopWithFault = 16,
}
Expand description
Fuel system status enumeration for PID 03
Variants§
Off = 0
The motor is off
OpenLoopLowTemp = 1
Open loop due to insufficient engine temperature
ClosedLoopO2Feedback = 2
Closed loop, using oxygen sensor feedback to determine fuel mix
OpenLoopEngineLoad = 4
Open loop due to engine load / fuel cut due to deceleration
OpenLoopSystemFailure = 8
Open loop due to system failure
ClosedLoopWithFault = 16
Closed loop, using at least one oxygen sensor but there is a fault in the feedback system
Trait Implementations§
source§impl Clone for FuelSystemStatus
impl Clone for FuelSystemStatus
source§fn clone(&self) -> FuelSystemStatus
fn clone(&self) -> FuelSystemStatus
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 FuelSystemStatus
impl Debug for FuelSystemStatus
source§impl Display for FuelSystemStatus
impl Display for FuelSystemStatus
source§impl From<FuelSystemStatus> for ByteWrapper<FuelSystemStatus>
impl From<FuelSystemStatus> for ByteWrapper<FuelSystemStatus>
source§fn from(value: FuelSystemStatus) -> ByteWrapper<FuelSystemStatus>
fn from(value: FuelSystemStatus) -> ByteWrapper<FuelSystemStatus>
Converts to this type from the input type.
source§impl Ord for FuelSystemStatus
impl Ord for FuelSystemStatus
source§fn cmp(&self, other: &FuelSystemStatus) -> Ordering
fn cmp(&self, other: &FuelSystemStatus) -> 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 FuelSystemStatus
impl PartialEq for FuelSystemStatus
source§fn eq(&self, other: &FuelSystemStatus) -> bool
fn eq(&self, other: &FuelSystemStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FuelSystemStatus
impl PartialOrd for FuelSystemStatus
source§fn partial_cmp(&self, other: &FuelSystemStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &FuelSystemStatus) -> 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 FuelSystemStatus
impl TryFrom<u8> for FuelSystemStatus
impl Copy for FuelSystemStatus
impl Eq for FuelSystemStatus
impl StructuralPartialEq for FuelSystemStatus
Auto Trait Implementations§
impl Freeze for FuelSystemStatus
impl RefUnwindSafe for FuelSystemStatus
impl Send for FuelSystemStatus
impl Sync for FuelSystemStatus
impl Unpin for FuelSystemStatus
impl UnwindSafe for FuelSystemStatus
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