Enum cookie::ParseError[][src]

pub enum ParseError {
    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 Debug for ParseError
[src]

Formats the value using the given formatter. Read more

impl PartialEq 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 Eq for ParseError
[src]

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ParseError
[src]

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more

impl From<Utf8Error> for ParseError
[src]

Performs the conversion.

impl Error for ParseError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError