Enum ecu_diagnostics::kwp2000::ResetMode [−][src]
pub enum ResetMode {
PowerOnReset,
NonVolatileMemoryReset,
Custom(u8),
}
Expand description
ECU Reset types
Command support matrix
ResetMode | Support by ECUs |
---|---|
ResetMode::PowerOnReset | Mandatory |
ResetMode::NonVolatileMemoryReset | Optional |
ResetMode::Custom | Optional |
Variants
Simulates a power off/on reset of the ECU.
Just resets Non volatile memory of the ECU, resetting it
Custom reset mode (Not defined by KWP2000 specification)
Tuple Fields of Custom
0: u8
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ResetMode
impl UnwindSafe for ResetMode
Blanket Implementations
Mutably borrows from an owned value. Read more