Enum ecu_diagnostics::kwp2000::ResetType
source · #[repr(u8)]pub enum ResetType {
PowerOnReset = 1,
NonVolatileMemoryReset = 130,
}
Expand description
ECU Reset types
Command support matrix
ResetType | Support by ECUs |
---|---|
ResetType::PowerOnReset | Mandatory |
ResetType::NonVolatileMemoryReset | Optional |
Variants§
PowerOnReset = 1
Simulates a power off/on reset of the ECU.
NonVolatileMemoryReset = 130
Just resets Non volatile memory of the ECU, resetting it
Trait Implementations§
source§impl Ord for ResetType
impl Ord for ResetType
source§impl PartialEq for ResetType
impl PartialEq for ResetType
source§impl PartialOrd for ResetType
impl PartialOrd for ResetType
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 moreimpl Copy for ResetType
impl Eq for ResetType
impl StructuralPartialEq for ResetType
Auto Trait Implementations§
impl Freeze for ResetType
impl RefUnwindSafe for ResetType
impl Send for ResetType
impl Sync for ResetType
impl Unpin for ResetType
impl UnwindSafe for ResetType
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