[][src]Enum tokio_tower::pipeline::server::Error

pub enum Error<T, S> where
    T: Sink<S::Response> + TryStream,
    S: Service<<T as TryStream>::Ok>, 
{ BrokenTransportRecv(<T as TryStream>::Error), BrokenTransportSend(<T as Sink<S::Response>>::Error), Service(S::Error), }

An error that occurred while servicing a request.

Variants

BrokenTransportRecv(<T as TryStream>::Error)

The underlying transport failed to produce a request.

BrokenTransportSend(<T as Sink<S::Response>>::Error)

The underlying transport failed while attempting to send a response.

Service(S::Error)

The underlying service failed to process a request.

Trait Implementations

impl<T, S> Debug for Error<T, S> where
    T: Sink<S::Response> + TryStream,
    S: Service<<T as TryStream>::Ok>,
    <T as Sink<S::Response>>::Error: Debug,
    <T as TryStream>::Error: Debug,
    S::Error: Debug
[src]

impl<T, S> Display for Error<T, S> where
    T: Sink<S::Response> + TryStream,
    S: Service<<T as TryStream>::Ok>,
    <T as Sink<S::Response>>::Error: Display,
    <T as TryStream>::Error: Display,
    S::Error: Display
[src]

impl<T, S> Error for Error<T, S> where
    T: Sink<S::Response> + TryStream,
    S: Service<<T as TryStream>::Ok>,
    <T as Sink<S::Response>>::Error: Error,
    <T as TryStream>::Error: Error,
    S::Error: Error
[src]

Auto Trait Implementations

impl<T, S> RefUnwindSafe for Error<T, S> where
    <S as Service<<T as TryStream>::Ok>>::Error: RefUnwindSafe,
    <T as Sink<<S as Service<<T as TryStream>::Ok>>::Response>>::Error: RefUnwindSafe,
    <T as TryStream>::Error: RefUnwindSafe

impl<T, S> Send for Error<T, S> where
    <S as Service<<T as TryStream>::Ok>>::Error: Send,
    <T as Sink<<S as Service<<T as TryStream>::Ok>>::Response>>::Error: Send,
    <T as TryStream>::Error: Send

impl<T, S> Sync for Error<T, S> where
    <S as Service<<T as TryStream>::Ok>>::Error: Sync,
    <T as Sink<<S as Service<<T as TryStream>::Ok>>::Response>>::Error: Sync,
    <T as TryStream>::Error: Sync

impl<T, S> Unpin for Error<T, S> where
    <S as Service<<T as TryStream>::Ok>>::Error: Unpin,
    <T as Sink<<S as Service<<T as TryStream>::Ok>>::Response>>::Error: Unpin,
    <T as TryStream>::Error: Unpin

impl<T, S> UnwindSafe for Error<T, S> where
    <S as Service<<T as TryStream>::Ok>>::Error: UnwindSafe,
    <T as Sink<<S as Service<<T as TryStream>::Ok>>::Response>>::Error: UnwindSafe,
    <T as TryStream>::Error: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.