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]

[src]

Formats the value using the given formatter.

impl Copy for Error
[src]

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Error
[src]

impl PartialEq for Error
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Hash for Error
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more