Enum auto_uds::UdsSessionType
source · pub enum UdsSessionType {
Default,
Programming,
Extended,
SafetySystem,
Other(u8),
}Expand description
UDS Diagnostic session modes. Handled by SID 0x10
Variants§
Default
Default diagnostic session mode (ECU is normally in this mode on startup) This session type does not require the diagnostic server to sent TesterPresent messages
Programming
This diagnostic session mode enables all diagnostic services related to flashing or programming the ECU
Extended
This diagnostic session mode enabled all diagnostic services and allows adjusting ECU values
SafetySystem
This diagnostic session enables all diagnostic services required to support safety system-related functions
Other(u8)
Custom session type. This covers both vehicleManufacturerSpecific modes (0x40-0x5F) and systemSupplierSpecific modes (0x60-0x7E).
Trait Implementations§
source§impl Clone for UdsSessionType
impl Clone for UdsSessionType
source§fn clone(&self) -> UdsSessionType
fn clone(&self) -> UdsSessionType
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 UdsSessionType
impl Debug for UdsSessionType
source§impl From<UdsSessionType> for u8
impl From<UdsSessionType> for u8
source§fn from(value: UdsSessionType) -> u8
fn from(value: UdsSessionType) -> u8
Converts to this type from the input type.
source§impl Ord for UdsSessionType
impl Ord for UdsSessionType
source§fn cmp(&self, other: &UdsSessionType) -> Ordering
fn cmp(&self, other: &UdsSessionType) -> 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<UdsSessionType> for UdsSessionType
impl PartialEq<UdsSessionType> for UdsSessionType
source§fn eq(&self, other: &UdsSessionType) -> bool
fn eq(&self, other: &UdsSessionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<UdsSessionType> for UdsSessionType
impl PartialOrd<UdsSessionType> for UdsSessionType
source§fn partial_cmp(&self, other: &UdsSessionType) -> Option<Ordering>
fn partial_cmp(&self, other: &UdsSessionType) -> 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 more