Enum mimeograph_router::RouterResult[][src]

pub enum RouterResult<T, U> {
    Handled(T),
    NotHandled(U),
}
Expand description

Returned by router![] to signify if the request was handled

Variants

Handled(T)

Response of the request

NotHandled(U)

Request type has been returned

Trait Implementations

Performs the conversion.

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.

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.