Enum tokio_tower::Error [−][src]
pub enum Error<T, I> where
T: Sink<I> + TryStream, {
BrokenTransportSend(<T as Sink<I>>::Error),
BrokenTransportRecv(Option<<T as TryStream>::Error>),
TransportFull,
ClientDropped,
Desynchronized,
}
Expand description
An error that occurred while servicing a request.
Variants
The underlying transport failed to send a request.
The underlying transport failed while attempting to receive a response.
If None
, the transport closed without error while there were pending requests.
Attempted to issue a call
when no more requests can be in flight.
See tower_service::Service::poll_ready
and [Client::with_limit
].
Attempted to issue a call
, but the underlying transport has been closed.
The server sent a response that the client was not expecting.