Enum actix_web::error::CookieParseError[][src]

pub enum CookieParseError {
    MissingPair,
    EmptyName,
    Utf8Error(Utf8Error),
    // some variants omitted
}

Enum corresponding to a parsing error.

Variants

The cookie did not contain a name/value pair.

The cookie's name was empty.

Decoding the cookie's name or value resulted in invalid UTF-8.

Methods

impl ParseError
[src]

Returns a description of this error as a string

Trait Implementations

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more

impl From<Utf8Error> for ParseError
[src]

Performs the conversion.

impl Copy for ParseError
[src]

impl Eq for ParseError
[src]

impl PartialEq<ParseError> for ParseError
[src]

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

This method tests for !=.

impl Error for ParseError
[src]

This method is soft-deprecated. Read more

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

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ParseError
[src]

Formats the value using the given formatter. Read more

impl ResponseError for ParseError
[src]

Return BadRequest for cookie::ParseError

Create response for error Read more

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError