Enum csrf::CsrfError [] [src]

pub enum CsrfError {
    InternalError,
    ValidationFailure,
}

An enum of all CSRF related errors.

Variants

There was an internal error.

There was CSRF token validation failure.

Trait Implementations

impl Debug for CsrfError
[src]

Formats the value using the given formatter.

impl Hash for CsrfError
[src]

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

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

impl Eq for CsrfError
[src]

impl PartialEq for CsrfError
[src]

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

This method tests for !=.

impl Clone for CsrfError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Error for CsrfError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for CsrfError
[src]

Formats the value using the given formatter. Read more