[−][src]Enum tokio_tower::Error
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.
Trait Implementations
impl<T, I> Debug for Error<T, I> where
T: Sink<I> + TryStream,
<T as Sink<I>>::Error: Debug,
<T as TryStream>::Error: Debug,
[src]
T: Sink<I> + TryStream,
<T as Sink<I>>::Error: Debug,
<T as TryStream>::Error: Debug,
impl<T, I> Display for Error<T, I> where
T: Sink<I> + TryStream,
<T as Sink<I>>::Error: Display,
<T as TryStream>::Error: Display,
[src]
T: Sink<I> + TryStream,
<T as Sink<I>>::Error: Display,
<T as TryStream>::Error: Display,
impl<T, I> Error for Error<T, I> where
T: Sink<I> + TryStream,
<T as Sink<I>>::Error: Error,
<T as TryStream>::Error: Error,
[src]
T: Sink<I> + TryStream,
<T as Sink<I>>::Error: Error,
<T as TryStream>::Error: Error,
Auto Trait Implementations
impl<T, I> RefUnwindSafe for Error<T, I> where
<T as Sink<I>>::Error: RefUnwindSafe,
<T as TryStream>::Error: RefUnwindSafe,
<T as Sink<I>>::Error: RefUnwindSafe,
<T as TryStream>::Error: RefUnwindSafe,
impl<T, I> Send for Error<T, I> where
<T as Sink<I>>::Error: Send,
<T as TryStream>::Error: Send,
<T as Sink<I>>::Error: Send,
<T as TryStream>::Error: Send,
impl<T, I> Sync for Error<T, I> where
<T as Sink<I>>::Error: Sync,
<T as TryStream>::Error: Sync,
<T as Sink<I>>::Error: Sync,
<T as TryStream>::Error: Sync,
impl<T, I> Unpin for Error<T, I> where
<T as Sink<I>>::Error: Unpin,
<T as TryStream>::Error: Unpin,
<T as Sink<I>>::Error: Unpin,
<T as TryStream>::Error: Unpin,
impl<T, I> UnwindSafe for Error<T, I> where
<T as Sink<I>>::Error: UnwindSafe,
<T as TryStream>::Error: UnwindSafe,
<T as Sink<I>>::Error: UnwindSafe,
<T as TryStream>::Error: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,