pub enum ParseError {
MissingPair,
EmptyName,
Utf8Error(Utf8Error),
// some variants omitted
}
Enum corresponding to a parsing error.
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.
Returns a description of this error as a string
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
The lower-level cause of this error, if any. Read more