pub enum MismatchField {
ProxyGeoVsDns,
WebRtcPublicIp,
Timezone,
Locale,
AcceptLanguage,
}Expand description
Field on which two coherence vectors disagreed.
Every variant has a fixed MismatchSeverity (advisory vs hard)
embedded in the validator — the port just enumerates the possible
mismatch sites so CoherencePolicy::hard_fail_on can target a
specific vector.
Variants§
ProxyGeoVsDns
proxy_geo_country vs dns_resolver_country.
WebRtcPublicIp
webrtc_public_ip not in the same /16 as the proxy exit.
Timezone
browser_timezone disagrees with the proxy / DNS country.
Locale
browser_locale region disagrees with the proxy / DNS country.
AcceptLanguage
accept_language primary region disagrees with the proxy / DNS country.
Implementations§
Source§impl MismatchField
impl MismatchField
Trait Implementations§
Source§impl Clone for MismatchField
impl Clone for MismatchField
Source§fn clone(&self) -> MismatchField
fn clone(&self) -> MismatchField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MismatchField
Source§impl Debug for MismatchField
impl Debug for MismatchField
Source§impl<'de> Deserialize<'de> for MismatchField
impl<'de> Deserialize<'de> for MismatchField
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 Display for MismatchField
impl Display for MismatchField
impl Eq for MismatchField
Source§impl Hash for MismatchField
impl Hash for MismatchField
Source§impl Ord for MismatchField
impl Ord for MismatchField
Source§fn cmp(&self, other: &MismatchField) -> Ordering
fn cmp(&self, other: &MismatchField) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MismatchField
impl PartialEq for MismatchField
Source§impl PartialOrd for MismatchField
impl PartialOrd for MismatchField
Source§impl Serialize for MismatchField
impl Serialize for MismatchField
impl StructuralPartialEq for MismatchField
Auto Trait Implementations§
impl Freeze for MismatchField
impl RefUnwindSafe for MismatchField
impl Send for MismatchField
impl Sync for MismatchField
impl Unpin for MismatchField
impl UnsafeUnpin for MismatchField
impl UnwindSafe for MismatchField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.