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]

[src]

Formats the value using the given formatter. Read more

impl Responder<'static> for Failure
[src]

[src]

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

impl From<Status> for Failure
[src]

[src]

Performs the conversion.