Module rocket::catcher[][src]

Expand description

Types and traits for error catchers and their handlers and return types.

Structs

Catcher

An error catching route.

Traits

Cloneable

Helper trait to make a Catcher’s Box<dyn Handler> Clone.

Handler

Trait implemented by Catcher error handlers.

Type Definitions

BoxFuture

Type alias for the return type of a raw Catcher’s Handler.

Result

Type alias for the return type of a Catcher’s Handler::handle().