Client::poll_ready and send_request may return Connection Errors (#132)
Closes #131
This commit is contained in:
@@ -62,6 +62,7 @@ impl From<SendError> for Error {
|
||||
fn from(src: SendError) -> Error {
|
||||
match src {
|
||||
SendError::User(e) => e.into(),
|
||||
SendError::Connection(reason) => reason.into(),
|
||||
SendError::Io(e) => e.into(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user