Enum cookie_store::CookieError [−][src]
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.