pub enum SetCookieBlockedReason {
Show 20 variants
SecureOnly,
SameSiteStrict,
SameSiteLax,
SameSiteUnspecifiedTreatedAsLax,
SameSiteNoneInsecure,
UserPreferences,
ThirdPartyPhaseout,
ThirdPartyBlockedInFirstPartySet,
SyntaxError,
SchemeNotSupported,
OverwriteSecure,
InvalidDomain,
InvalidPrefix,
UnknownError,
SchemefulSameSiteStrict,
SchemefulSameSiteLax,
SchemefulSameSiteUnspecifiedTreatedAsLax,
NameValuePairExceedsMaxSize,
DisallowedCharacter,
NoCookieContent,
}Expand description
Types of reasons why a cookie may not be stored from a response.
Variants§
SecureOnly
SameSiteStrict
SameSiteLax
SameSiteUnspecifiedTreatedAsLax
SameSiteNoneInsecure
UserPreferences
ThirdPartyPhaseout
ThirdPartyBlockedInFirstPartySet
SyntaxError
SchemeNotSupported
OverwriteSecure
InvalidDomain
InvalidPrefix
UnknownError
SchemefulSameSiteStrict
SchemefulSameSiteLax
SchemefulSameSiteUnspecifiedTreatedAsLax
NameValuePairExceedsMaxSize
DisallowedCharacter
NoCookieContent
Trait Implementations§
Source§impl Clone for SetCookieBlockedReason
impl Clone for SetCookieBlockedReason
Source§fn clone(&self) -> SetCookieBlockedReason
fn clone(&self) -> SetCookieBlockedReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetCookieBlockedReason
impl Debug for SetCookieBlockedReason
Source§impl Default for SetCookieBlockedReason
impl Default for SetCookieBlockedReason
Source§fn default() -> SetCookieBlockedReason
fn default() -> SetCookieBlockedReason
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetCookieBlockedReason
impl<'de> Deserialize<'de> for SetCookieBlockedReason
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
Source§impl PartialEq for SetCookieBlockedReason
impl PartialEq for SetCookieBlockedReason
Source§impl Serialize for SetCookieBlockedReason
impl Serialize for SetCookieBlockedReason
impl StructuralPartialEq for SetCookieBlockedReason
Auto Trait Implementations§
impl Freeze for SetCookieBlockedReason
impl RefUnwindSafe for SetCookieBlockedReason
impl Send for SetCookieBlockedReason
impl Sync for SetCookieBlockedReason
impl Unpin for SetCookieBlockedReason
impl UnsafeUnpin for SetCookieBlockedReason
impl UnwindSafe for SetCookieBlockedReason
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