Enum ecu_diagnostics::channel::ChannelError [−][src]
pub enum ChannelError {
IOError(Error),
WriteTimeout,
ReadTimeout,
BufferEmpty,
BufferFull,
UnsupportedRequest,
InterfaceNotOpen,
HardwareError(HardwareError),
NotOpen,
ConfigurationError,
}
Expand description
Error produced by a communication channel
Variants
IOError(Error)
Underlying IO Error with channel
Tuple Fields of IOError
0: Error
Timeout when writing data to the channel
Timeout when reading from the channel
The channel’s Rx buffer is empty. Only applies when read timeout is 0
The channels Tx buffer is full
Unsupported channel request
The interface is not open
HardwareError(HardwareError)
Underlying API error with hardware
Tuple Fields of HardwareError
Channel is not open, so cannot read/write data to it!
Channel not configured prior to opening
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.