Enum dscfg_client::ProtocolError
source · pub enum ProtocolError<E> {
UnexpectedResponse,
UnexpectedEof,
Communication(E),
}
Expand description
Error returned when DSCFG protocol fails.
Variants§
UnexpectedResponse
The response to the message wasn’t expected
UnexpectedEof
The stream has ended before a message could be fully decoded.
Communication(E)
Underlying communication error - e.g. I/O error.