pub enum ParseErrorKind {
Io(Error),
MissingFields {
found: usize,
},
InvalidExpires,
InvalidOctets,
}Expand description
Detailed reason a cookie line or stream could not be parsed.
Variants§
Io(Error)
The underlying buffered reader failed.
MissingFields
A non-comment cookie line had a field count other than seven.
InvalidExpires
The expires field was empty, non-decimal, or overflowed u64.
InvalidOctets
The cookie name or value contained an ASCII control octet.
Trait Implementations§
Source§impl Debug for ParseErrorKind
impl Debug for ParseErrorKind
Auto Trait Implementations§
impl !RefUnwindSafe for ParseErrorKind
impl !UnwindSafe for ParseErrorKind
impl Freeze for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnsafeUnpin for ParseErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more