Enum cookie::ParseError [−][src]
pub enum ParseError {
MissingPair,
EmptyName,
Utf8Error(Utf8Error),
// some variants omitted
}
Expand description
Enum corresponding to a parsing error.
Variants
The cookie did not contain a name/value pair.
The cookie’s name was empty.
Utf8Error(Utf8Error)
Decoding the cookie’s name or value resulted in invalid UTF-8.
Tuple Fields of Utf8Error
0: Utf8Error
Implementations
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
Mutably borrows from an owned value. Read more