pub enum VerificationErrorCode {
VerificationErrorUnspecified,
VerificationErrorInvalidFormat,
VerificationErrorExpired,
VerificationErrorRevoked,
VerificationErrorNotFound,
VerificationErrorSignatureInvalid,
VerificationErrorInternal,
VerificationErrorIpNotAllowed,
VerificationErrorRateLimited,
}Expand description
VerificationErrorCode : - VERIFICATION_ERROR_UNSPECIFIED: No error (key is valid) - VERIFICATION_ERROR_INVALID_FORMAT: Credential format is invalid - VERIFICATION_ERROR_EXPIRED: Credential has expired - VERIFICATION_ERROR_REVOKED: Credential has been revoked - VERIFICATION_ERROR_NOT_FOUND: Credential not found in database - VERIFICATION_ERROR_SIGNATURE_INVALID: Cryptographic signature verification failed - VERIFICATION_ERROR_INTERNAL: Internal server error during verification - VERIFICATION_ERROR_IP_NOT_ALLOWED: Request IP is not in the key’s allowed CIDR ranges - VERIFICATION_ERROR_RATE_LIMITED: Rate limit quota exhausted (commercial-only)
- VERIFICATION_ERROR_UNSPECIFIED: No error (key is valid) - VERIFICATION_ERROR_INVALID_FORMAT: Credential format is invalid - VERIFICATION_ERROR_EXPIRED: Credential has expired - VERIFICATION_ERROR_REVOKED: Credential has been revoked - VERIFICATION_ERROR_NOT_FOUND: Credential not found in database - VERIFICATION_ERROR_SIGNATURE_INVALID: Cryptographic signature verification failed - VERIFICATION_ERROR_INTERNAL: Internal server error during verification - VERIFICATION_ERROR_IP_NOT_ALLOWED: Request IP is not in the key’s allowed CIDR ranges - VERIFICATION_ERROR_RATE_LIMITED: Rate limit quota exhausted (commercial-only)
Variants§
VerificationErrorUnspecified
VerificationErrorInvalidFormat
VerificationErrorExpired
VerificationErrorRevoked
VerificationErrorNotFound
VerificationErrorSignatureInvalid
VerificationErrorInternal
VerificationErrorIpNotAllowed
VerificationErrorRateLimited
Trait Implementations§
Source§impl Clone for VerificationErrorCode
impl Clone for VerificationErrorCode
Source§fn clone(&self) -> VerificationErrorCode
fn clone(&self) -> VerificationErrorCode
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 moreSource§impl Debug for VerificationErrorCode
impl Debug for VerificationErrorCode
Source§impl Default for VerificationErrorCode
impl Default for VerificationErrorCode
Source§fn default() -> VerificationErrorCode
fn default() -> VerificationErrorCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerificationErrorCode
impl<'de> Deserialize<'de> for VerificationErrorCode
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 VerificationErrorCode
impl Display for VerificationErrorCode
Source§impl Hash for VerificationErrorCode
impl Hash for VerificationErrorCode
Source§impl Ord for VerificationErrorCode
impl Ord for VerificationErrorCode
Source§fn cmp(&self, other: &VerificationErrorCode) -> Ordering
fn cmp(&self, other: &VerificationErrorCode) -> 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 VerificationErrorCode
impl PartialEq for VerificationErrorCode
Source§fn eq(&self, other: &VerificationErrorCode) -> bool
fn eq(&self, other: &VerificationErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VerificationErrorCode
impl PartialOrd for VerificationErrorCode
Source§impl Serialize for VerificationErrorCode
impl Serialize for VerificationErrorCode
impl Copy for VerificationErrorCode
impl Eq for VerificationErrorCode
impl StructuralPartialEq for VerificationErrorCode
Auto Trait Implementations§
impl Freeze for VerificationErrorCode
impl RefUnwindSafe for VerificationErrorCode
impl Send for VerificationErrorCode
impl Sync for VerificationErrorCode
impl Unpin for VerificationErrorCode
impl UnsafeUnpin for VerificationErrorCode
impl UnwindSafe for VerificationErrorCode
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