[][src]Enum actix_web::EitherExtractError

pub enum EitherExtractError<A, B> {
    Bytes(Error),
    Extract(A, B),
}

A composite error resulting from failure to extract an Either<A, B>.

The implementation of Into<actix_web::Error> will return the payload buffering error or the error from the primary extractor. To access the fallback error, use a match clause.

Variants

Bytes(Error)

Error from payload buffering, such as exceeding payload max size limit.

Extract(A, B)

Error from primary extractor.

Trait Implementations

impl<A: Debug, B: Debug> Debug for EitherExtractError<A, B>[src]

impl<A, B> From<EitherExtractError<A, B>> for Error where
    A: Into<Error>,
    B: Into<Error>, 
[src]

Auto Trait Implementations

impl<A, B> !RefUnwindSafe for EitherExtractError<A, B>[src]

impl<A, B> !Send for EitherExtractError<A, B>[src]

impl<A, B> !Sync for EitherExtractError<A, B>[src]

impl<A, B> Unpin for EitherExtractError<A, B> where
    A: Unpin,
    B: Unpin
[src]

impl<A, B> !UnwindSafe for EitherExtractError<A, B>[src]

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,