Enum cookie_store::CookieError
source · pub enum CookieError {
NonHttpScheme,
NonRelativeScheme,
DomainMismatch,
Expired,
Parse,
PublicSuffix,
UnspecifiedDomain,
}
Variants
NonHttpScheme
Cookie had attribute HttpOnly but was received from a request-uri which was not an http scheme
NonRelativeScheme
Cookie did not specify domain but was recevied from non-relative-scheme request-uri from which host could not be determined
DomainMismatch
Cookie received from a request-uri that does not domain-match
Expired
Cookie is Expired
Parse
cookie::Cookie
Parse error
PublicSuffix
Cookie specified a public suffix domain-attribute that does not match the canonicalized request-uri host
UnspecifiedDomain
Tried to use a CookieDomain variant of Empty
or NotPresent
in a context requiring a Domain value
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl From<ParseError> for Error
impl From<ParseError> for Error
sourcefn from(_: ParseError) -> Error
fn from(_: ParseError) -> Error
Converts to this type from the input type.
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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
sourceimpl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
sourcefn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more