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]

[src]

Returns a description of this error as a string

Trait Implementations

impl Debug for ParseError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ParseError
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ParseError
[src]

impl Clone for ParseError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ParseError
[src]

impl Display for ParseError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Utf8Error> for ParseError
[src]

[src]

Performs the conversion.

impl Error for ParseError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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