Enum ecu_diagnostics::hardware::HardwareError [−][src]
pub enum HardwareError {
APIError {
code: u32,
desc: String,
},
ConflictingChannel,
ChannelNotSupported,
DeviceNotFound,
DeviceNotOpen,
LibLoadError(Error),
}
Expand description
Represents error that can be returned by Hardware API
Variants
Low level device driver error
Indicates a conflict of channel, An example would be having an ISOTP channel open and then also trying to open a CAN Channel at the same time. This cannot happen as both channels use the same physical data layer and thus hardware and filters
Indicates a channel type is not supported by the API
Hardware not found
Function called on device that has not been opened
LibLoadError(Error)
Lib loading error
Tuple Fields of LibLoadError
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.