Enum cookie::ParseError
[−]
[src]
pub enum ParseError { MissingPair, EmptyName, Utf8Error(Utf8Error), // some variants omitted }
Enum corresponding to a parsing error.
Variants
MissingPair
The cookie did not contain a name/value pair.
EmptyName
The cookie's name was empty.
Utf8Error(Utf8Error)
Decoding the cookie's name or value resulted in invalid UTF-8.
Methods
impl ParseError
[src]
Trait Implementations
impl Debug for ParseError
[src]
impl PartialEq for ParseError
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
This method tests for !=
.
impl Eq for ParseError
[src]
impl Clone for ParseError
[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ParseError
[src]
impl Display for ParseError
[src]
impl From<Utf8Error> for ParseError
[src]
fn from(error: Utf8Error) -> ParseError
Performs the conversion.