Type Alias ecu_diagnostics::uds::UdsErrorByte

source ·
pub type UdsErrorByte = ByteWrapper<UdsError>;
Expand description

Store a single byte, either as a Standard(UdsError), or as an Extended(u8).

Aliased Type§

enum UdsErrorByte {
    Standard(UdsError),
    Extended(u8),
}

Variants§

§

Standard(UdsError)

§

Extended(u8)

Trait Implementations§

source§

impl EcuNRC for UdsErrorByte

source§

fn desc(&self) -> String

Description of the NRC
source§

fn is_ecu_busy(&self) -> bool

Returns true if the NRC implies the ECU is busy, and the Diagnostic server should wait for the ECU’s real response
source§

fn is_wrong_diag_mode(&self) -> bool

Returns true if the NRC means the ECU is in the wrong diagnostic mode to process the current service
source§

fn is_repeat_request(&self) -> bool

Returns true if the ECU has asked the diagnostic server to repeat the request message