Enum actix_web::web::EitherExtractError[][src]

pub enum EitherExtractError<L, R> {
    Bytes(Error),
    Extract(L, R),
}

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

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(L, R)

Error from primary extractor.

Trait Implementations

impl<L: Debug, R: Debug> Debug for EitherExtractError<L, R>[src]

impl<L, R> From<EitherExtractError<L, R>> for Error where
    L: Into<Error>,
    R: Into<Error>, 
[src]

Auto Trait Implementations

impl<L, R> !RefUnwindSafe for EitherExtractError<L, R>

impl<L, R> !Send for EitherExtractError<L, R>

impl<L, R> !Sync for EitherExtractError<L, R>

impl<L, R> Unpin for EitherExtractError<L, R> where
    L: Unpin,
    R: Unpin

impl<L, R> !UnwindSafe for EitherExtractError<L, R>

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, 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>,