[][src]Enum cookie::ParseError

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

impl From<Utf8Error> for ParseError
[src]

impl Clone for ParseError
[src]

Performs copy-assignment from source. Read more

impl Copy for ParseError
[src]

impl Eq for ParseError
[src]

impl Display for ParseError
[src]

impl Debug for ParseError
[src]

impl Error for ParseError
[src]

Deprecated since 1.33.0

: replaced by Error::source, which can support downcasting

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

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

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]