Enum multistream_select::ProtocolError
source · [−]pub enum ProtocolError {
IoError(Error),
InvalidMessage,
InvalidProtocol,
TooManyProtocols,
}
Expand description
A protocol error.
Variants
IoError(Error)
I/O error.
InvalidMessage
Received an invalid message from the remote.
InvalidProtocol
A protocol (name) is invalid.
TooManyProtocols
Too many protocols have been returned by the remote.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.