Struct rocket::response::Failure [] [src]

pub struct Failure(pub Status);

A failing response; simply forwards to the catcher for the given Status.

Trait Implementations

impl Debug for Failure
[src]

Formats the value using the given formatter.

impl<'r> Responder<'r> for Failure
[src]

Returns Ok if a Response could be generated successfully. Otherwise, returns an Err with a failing Status. Read more