Enum mimeograph_crumble::ParseError [−][src]
#[non_exhaustive] pub enum ParseError { MissingPair, EmptyName, Utf8Error(Utf8Error), }
Expand description
Enum corresponding to a parsing error.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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.
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