Enum poem::error::ParseCookieError
source · [−]pub enum ParseCookieError {
CookieIllegal,
CookieHeaderRequired,
ParseJsonValue(Error),
}
Available on crate feature
cookie
only.Expand description
A possible error value when parsing cookie.
Variants
CookieIllegal
Cookie value is illegal.
CookieHeaderRequired
A Cookie
header is required.
ParseJsonValue(Error)
Cookie value is illegal.
Trait Implementations
sourceimpl Debug for ParseCookieError
impl Debug for ParseCookieError
sourceimpl Display for ParseCookieError
impl Display for ParseCookieError
sourceimpl Error for ParseCookieError
impl Error for ParseCookieError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for ParseCookieError
impl From<Error> for ParseCookieError
sourceimpl ResponseError for ParseCookieError
impl ResponseError for ParseCookieError
sourcefn status(&self) -> StatusCode
fn status(&self) -> StatusCode
The status code of this error.
Auto Trait Implementations
impl !RefUnwindSafe for ParseCookieError
impl Send for ParseCookieError
impl Sync for ParseCookieError
impl Unpin for ParseCookieError
impl !UnwindSafe for ParseCookieError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more