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)
Tuple Fields
0: Error
Underlying IO Error with channel
WriteTimeout
Timeout when writing data to the channel
ReadTimeout
Timeout when reading from the channel
BufferEmpty
The channel’s Rx buffer is empty. Only applies when read timeout is 0
BufferFull
The channels Tx buffer is full
UnsupportedRequest
Unsupported channel request
InterfaceNotOpen
The interface is not open
HardwareError(HardwareError)
Tuple Fields
Underlying API error with hardware
NotOpen
Channel is not open, so cannot read/write data to it!
ConfigurationError
Channel not configured prior to opening
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.