Enum multistream_select::ProtocolError [−][src]
pub enum ProtocolError { IoError(Error), InvalidMessage, InvalidProtocol, TooManyProtocols, }
A protocol error.
Variants
IoError(Error)
I/O error.
Received an invalid message from the remote.
A protocol (name) is invalid.
Too many protocols have been returned by the remote.
Trait Implementations
impl Error for ProtocolError
[src]
impl Error for ProtocolError
[src]impl From<Error> for ProtocolError
[src]
impl From<Error> for ProtocolError
[src]fn from(err: Error) -> ProtocolError
[src]
impl From<Error> for ProtocolError
[src]
impl From<Error> for ProtocolError
[src]fn from(err: Error) -> ProtocolError
[src]
impl From<ProtocolError> for NegotiationError
[src]
impl From<ProtocolError> for NegotiationError
[src]