Enum seamless::api::RouteError[][src]

pub enum RouteError<B, E> {
    NotFound(Request<B>),
    Err(E),
}
Expand description

A route is either not found, or we attempted to run it and ran into an issue.

Variants

NotFound(Request<B>)

Tuple Fields

0: Request<B>

No route matched the provided request, so we hand it back.

Err(E)

Tuple Fields

0: E

The matching route failed; this is the error.

Implementations

Assume that the RouteError contains an error and attempt to unwrap this

Panics

Panics if the RouteError does not contain an error

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.