Trait ecu_diagnostics::dynamic_diag::EcuNRC
source · pub trait EcuNRC: From<u8> {
// Required methods
fn desc(&self) -> String;
fn is_ecu_busy(&self) -> bool;
fn is_wrong_diag_mode(&self) -> bool;
fn is_repeat_request(&self) -> bool;
}
Expand description
ECU Negative response code trait
Required Methods§
sourcefn 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
sourcefn 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
sourcefn 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
Object Safety§
This trait is not object safe.