#[repr(u8)]pub enum CommandedSecondaryAirStatus {
Upstream = 1,
DownstreamOfCat = 2,
FromOutsideOrOff = 4,
PumpCommandedForDiagnostics = 8,
}
Expand description
Commanded secondary air status for PID 12
Variants§
Upstream = 1
Upstream
DownstreamOfCat = 2
Downstream of catalytic converter
FromOutsideOrOff = 4
From the outside atmosphere or off
PumpCommandedForDiagnostics = 8
Pump commanded on for diagnostics
Trait Implementations§
source§impl Clone for CommandedSecondaryAirStatus
impl Clone for CommandedSecondaryAirStatus
source§fn clone(&self) -> CommandedSecondaryAirStatus
fn clone(&self) -> CommandedSecondaryAirStatus
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 CommandedSecondaryAirStatus
impl Debug for CommandedSecondaryAirStatus
source§impl From<CommandedSecondaryAirStatus> for ByteWrapper<CommandedSecondaryAirStatus>
impl From<CommandedSecondaryAirStatus> for ByteWrapper<CommandedSecondaryAirStatus>
source§fn from(
value: CommandedSecondaryAirStatus
) -> ByteWrapper<CommandedSecondaryAirStatus>
fn from( value: CommandedSecondaryAirStatus ) -> ByteWrapper<CommandedSecondaryAirStatus>
Converts to this type from the input type.
source§impl Ord for CommandedSecondaryAirStatus
impl Ord for CommandedSecondaryAirStatus
source§fn cmp(&self, other: &CommandedSecondaryAirStatus) -> Ordering
fn cmp(&self, other: &CommandedSecondaryAirStatus) -> 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 CommandedSecondaryAirStatus
impl PartialEq for CommandedSecondaryAirStatus
source§fn eq(&self, other: &CommandedSecondaryAirStatus) -> bool
fn eq(&self, other: &CommandedSecondaryAirStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CommandedSecondaryAirStatus
impl PartialOrd for CommandedSecondaryAirStatus
source§fn partial_cmp(&self, other: &CommandedSecondaryAirStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &CommandedSecondaryAirStatus) -> 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 CommandedSecondaryAirStatus
impl TryFrom<u8> for CommandedSecondaryAirStatus
impl Copy for CommandedSecondaryAirStatus
impl Eq for CommandedSecondaryAirStatus
impl StructuralPartialEq for CommandedSecondaryAirStatus
Auto Trait Implementations§
impl Freeze for CommandedSecondaryAirStatus
impl RefUnwindSafe for CommandedSecondaryAirStatus
impl Send for CommandedSecondaryAirStatus
impl Sync for CommandedSecondaryAirStatus
impl Unpin for CommandedSecondaryAirStatus
impl UnwindSafe for CommandedSecondaryAirStatus
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