#[non_exhaustive]pub enum BanKind {
Profile,
Device,
Network,
Underage,
}Expand description
What a GrindrError::Banned applies to, from the error code in the body.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Profile
Code 27.
Device
Code 28. Often spurious: a bad security fingerprint blocks the request, not the account.
Network
Code 31 (SUSPICIOUS_NETWORK).
Underage
Codes 35 and 36 (underage).
Trait Implementations§
impl Copy for BanKind
impl Eq for BanKind
impl StructuralPartialEq for BanKind
Auto Trait Implementations§
impl Freeze for BanKind
impl RefUnwindSafe for BanKind
impl Send for BanKind
impl Sync for BanKind
impl Unpin for BanKind
impl UnsafeUnpin for BanKind
impl UnwindSafe for BanKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.