Enum actix_web::dev::CookieParseError
[−]
[src]
pub enum CookieParseError { 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 Copy for ParseError
[src]
impl Clone for ParseError
[src]
fn clone(&self) -> ParseError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for ParseError
[src]
impl From<Utf8Error> for ParseError
[src]
fn from(error: Utf8Error) -> ParseError
[src]
Performs the conversion.
impl PartialEq<ParseError> for ParseError
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
[src]
This method tests for !=
.
impl Debug for ParseError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl Error for ParseError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more