pub enum CookieBlockedReason {
Show 18 variants
SecureOnly,
NotOnPath,
DomainMismatch,
SameSiteStrict,
SameSiteLax,
SameSiteUnspecifiedTreatedAsLax,
SameSiteNoneInsecure,
UserPreferences,
ThirdPartyPhaseout,
UnknownError,
SchemefulSameSiteStrict,
SchemefulSameSiteLax,
SchemefulSameSiteUnspecifiedTreatedAsLax,
NameValuePairExceedsMaxSize,
PortMismatch,
SchemeMismatch,
AnonymousContext,
Unrecognized(String),
}Expand description
Types of reasons why a cookie may not be sent with a request.
Experimental: may change without notice.
Variants§
SecureOnly
SecureOnly
NotOnPath
NotOnPath
DomainMismatch
DomainMismatch
SameSiteStrict
SameSiteStrict
SameSiteLax
SameSiteLax
SameSiteUnspecifiedTreatedAsLax
SameSiteUnspecifiedTreatedAsLax
SameSiteNoneInsecure
SameSiteNoneInsecure
UserPreferences
UserPreferences
ThirdPartyPhaseout
ThirdPartyPhaseout
UnknownError
UnknownError
SchemefulSameSiteStrict
SchemefulSameSiteStrict
SchemefulSameSiteLax
SchemefulSameSiteLax
SchemefulSameSiteUnspecifiedTreatedAsLax
SchemefulSameSiteUnspecifiedTreatedAsLax
NameValuePairExceedsMaxSize
NameValuePairExceedsMaxSize
PortMismatch
PortMismatch
SchemeMismatch
SchemeMismatch
AnonymousContext
AnonymousContext
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for CookieBlockedReason
impl Clone for CookieBlockedReason
Source§impl Debug for CookieBlockedReason
impl Debug for CookieBlockedReason
Source§impl<'de> Deserialize<'de> for CookieBlockedReason
impl<'de> Deserialize<'de> for CookieBlockedReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CookieBlockedReason
Source§impl Hash for CookieBlockedReason
impl Hash for CookieBlockedReason
Source§impl PartialEq for CookieBlockedReason
impl PartialEq for CookieBlockedReason
Source§impl Serialize for CookieBlockedReason
impl Serialize for CookieBlockedReason
impl StructuralPartialEq for CookieBlockedReason
Auto Trait Implementations§
impl Forget for CookieBlockedReason
impl Freeze for CookieBlockedReason
impl RefUnwindSafe for CookieBlockedReason
impl Send for CookieBlockedReason
impl Sync for CookieBlockedReason
impl Unpin for CookieBlockedReason
impl UnsafeUnpin for CookieBlockedReason
impl UnwindSafe for CookieBlockedReason
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