pub enum ErrorKind {
WSError(WSError),
URLError(ParseError),
UnexpectedMessage(&'static str),
ThreadError(SendError<Message>),
ConnectionLost,
Closing(String),
JSONError(JSONError),
MsgPackError(MsgPackError),
MalformedData,
InvalidMessageType(Message),
InvalidState(&'static str),
Timeout,
ErrorReason(ErrorType, ID, Reason),
}
Variants
WSError(WSError)
URLError(ParseError)
UnexpectedMessage(&'static str)
ThreadError(SendError<Message>)
ConnectionLost
Closing(String)
JSONError(JSONError)
MsgPackError(MsgPackError)
MalformedData
InvalidMessageType(Message)
InvalidState(&'static str)
Timeout
ErrorReason(ErrorType, ID, Reason)
Trait Implementations
Formats the value using the given formatter.