Type Alias ecu_diagnostics::kwp2000::KwpErrorByte
source · pub type KwpErrorByte = ByteWrapper<KwpError>;
Expand description
Store a single byte, either as a Standard(KwpError)
, or as an Extended(u8)
.
Aliased Type§
enum KwpErrorByte {
Standard(KwpError),
Extended(u8),
}
Variants§
Trait Implementations§
source§impl EcuNRC for KwpErrorByte
impl EcuNRC for KwpErrorByte
source§fn is_ecu_busy(&self) -> bool
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
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
fn is_repeat_request(&self) -> bool
Returns true if the ECU has asked the diagnostic server to repeat the request message