Enum rocket::Error [] [src]

pub enum Error {
    BadMethod,
    BadParse,
    NoRoute,
    Internal,
    NoKey,
}

[unstable] Error type for Rocket. Likely to change.

Variants

The request method was bad.

The value could not be parsed.

There was no such route.

The error was internal.

The requested key/index does not exist.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Error
[src]

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Error
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.