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]
impl ParseError
Trait Implementations
impl Debug for ParseError
[src]
impl Debug for ParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ParseError
[src]
impl PartialEq for ParseError
fn eq(&self, other: &ParseError) -> bool
[src]
fn eq(&self, other: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParseError) -> bool
[src]
fn ne(&self, other: &ParseError) -> bool
This method tests for !=
.
impl Eq for ParseError
[src]
impl Eq for ParseError
impl Clone for ParseError
[src]
impl Clone for ParseError
fn clone(&self) -> ParseError
[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ParseError
[src]
impl Copy for ParseError
impl Display for ParseError
[src]
impl Display for ParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Utf8Error> for ParseError
[src]
impl From<Utf8Error> for ParseError
fn from(error: Utf8Error) -> ParseError
[src]
fn from(error: Utf8Error) -> ParseError
Performs the conversion.
impl Error for ParseError
[src]
impl Error for ParseError
Auto Trait Implementations
impl Send for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Sync for ParseError