Enum ecu_diagnostics::DiagError [−][src]
pub enum DiagError { NotSupported, ECUError(u8), EmptyResponse, WrongMessage, ServerNotRunning, InvalidResponseLength, ParameterInvalid, ChannelError(ChannelError), NotImplemented(String), HardwareError(HardwareError), }
Expand description
Diagnostic server error
Variants
The Diagnostic server does not support the request
Diagnostic error code from the ECU itself
Tuple Fields of ECUError
0: u8
Response empty
ECU Responded but send a message that wasn’t a reply for the sent message
Diagnostic server terminated!?
ECU Responded with a message, but the length was incorrect
A parameter given to the function is invalid. Check the function’s documentation for more information
Error with underlying communication channel
Tuple Fields of ChannelError
0: ChannelError
Denotes a TODO action (Non-implemented function stub) This will be removed in Version 1
Tuple Fields of NotImplemented
0: String
Device hardware error
Tuple Fields of HardwareError
Trait Implementations
Performs the conversion.
Performs the conversion.