pub enum HttpServiceError<S, B> {
Ignored,
Service(S),
Body(B),
Timeout(TimeoutError),
UnSupportedVersion(Version),
Tls(TlsError),
H1(Error<S, B>),
}
Expand description
HttpService layer error.
Variants§
Ignored
Service(S)
Body(B)
Timeout(TimeoutError)
UnSupportedVersion(Version)
Tls(TlsError)
H1(Error<S, B>)
Implementations§
Trait Implementations§
Source§impl<S, B> Debug for HttpServiceError<S, B>
impl<S, B> Debug for HttpServiceError<S, B>
Source§impl<S, B> From<()> for HttpServiceError<S, B>
impl<S, B> From<()> for HttpServiceError<S, B>
Source§impl<S, B> From<Error<S, B>> for HttpServiceError<S, B>
impl<S, B> From<Error<S, B>> for HttpServiceError<S, B>
Source§impl<S, B> From<Infallible> for HttpServiceError<S, B>
impl<S, B> From<Infallible> for HttpServiceError<S, B>
Source§fn from(e: Infallible) -> Self
fn from(e: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<S, B> Freeze for HttpServiceError<S, B>
impl<S, B> !RefUnwindSafe for HttpServiceError<S, B>
impl<S, B> Send for HttpServiceError<S, B>
impl<S, B> Sync for HttpServiceError<S, B>
impl<S, B> Unpin for HttpServiceError<S, B>
impl<S, B> !UnwindSafe for HttpServiceError<S, B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more