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

Formats the value using the given formatter. Read more

impl Responder<'static> for Failure

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

impl From<Status> for Failure

Performs the conversion.

Auto Trait Implementations

impl Send for Failure

impl Sync for Failure