pub enum SetCookieBlockedReason {
Show 17 variants
SecureOnly,
SameSiteStrict,
SameSiteLax,
SameSiteUnspecifiedTreatedAsLax,
SameSiteNoneInsecure,
UserPreferences,
SyntaxError,
SchemeNotSupported,
OverwriteSecure,
InvalidDomain,
InvalidPrefix,
UnknownError,
SchemefulSameSiteStrict,
SchemefulSameSiteLax,
SchemefulSameSiteUnspecifiedTreatedAsLax,
SamePartyFromCrossPartyContext,
SamePartyConflictsWithOtherAttributes,
}Available on crate features
Network and Debugger and Runtime and Security and experimental only.Variants§
SecureOnly
SecureOnly
SameSiteStrict
SameSiteStrict
SameSiteLax
SameSiteLax
SameSiteUnspecifiedTreatedAsLax
SameSiteUnspecifiedTreatedAsLax
SameSiteNoneInsecure
SameSiteNoneInsecure
UserPreferences
UserPreferences
SyntaxError
SyntaxError
SchemeNotSupported
SchemeNotSupported
OverwriteSecure
OverwriteSecure
InvalidDomain
InvalidDomain
InvalidPrefix
InvalidPrefix
UnknownError
UnknownError
SchemefulSameSiteStrict
SchemefulSameSiteStrict
SchemefulSameSiteLax
SchemefulSameSiteLax
SchemefulSameSiteUnspecifiedTreatedAsLax
SchemefulSameSiteUnspecifiedTreatedAsLax
SamePartyFromCrossPartyContext
SamePartyFromCrossPartyContext
SamePartyConflictsWithOtherAttributes
SamePartyConflictsWithOtherAttributes
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<'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
Auto Trait Implementations§
impl Freeze for SetCookieBlockedReason
impl RefUnwindSafe for SetCookieBlockedReason
impl Send for SetCookieBlockedReason
impl Sync for SetCookieBlockedReason
impl Unpin 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