[−][src]Enum body_image_futio::FutioError
Error enumeration for body-image-futio origin errors. This may be extended in the future so exhaustive matching is gently discouraged with an unused variant.
Variants
Body(BodyError)
Error from BodySink
or BodyImage
.
ResponseTimeout(Duration)
The FutioTunables::res_timeout
duration was reached before receiving
the initial response.
BodyTimeout(Duration)
The FutioTunables::body_timeout
duration was reached before receiving
the complete response body.
ContentLengthTooLong(u64)
The content-length header exceeded Tunables::max_body
.
Http(Error)
Error from http.
Hyper(Error)
Error from hyper.
UnsupportedEncoding(Encoding)
Failed to decode an unsupported Encoding
; such as Compress
, or
Brotli
, when the brotli feature is not enabled.
OpCanceled(Canceled)
A pending blocking permit or dispatched operation was canceled before it was granted or completed.
Other(Flaw)
Other unclassified errors.
Unused variant to both enable non-exhaustive matching and warn against exhaustive matching.
Trait Implementations
impl Debug for FutioError
[src]
impl Display for FutioError
[src]
impl Error for FutioError
[src]
fn source(&self) -> Option<&(dyn StdError + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<BodyError> for FutioError
[src]
fn from(err: BodyError) -> FutioError
[src]
impl From<Error> for FutioError
[src]
fn from(err: Error) -> FutioError
[src]
impl From<Error> for FutioError
[src]
fn from(err: Error) -> FutioError
[src]
impl From<Error> for FutioError
[src]
fn from(err: Error) -> FutioError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FutioError
impl Send for FutioError
impl Sync for FutioError
impl Unpin for FutioError
impl !UnwindSafe for FutioError
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,