pub enum BiometricError {
UserVerificationNotPerformed,
LivenessNotSupported,
StepUpRequired,
ReverificationRequired,
QualityTooLow {
quality: u8,
minimum: u8,
},
AuthenticatorNotVerified,
VerificationExpired(DateTime<Utc>),
RiskScoreTooHigh(u8),
Storage(String),
}Expand description
Errors that can occur in biometric security
Variants§
UserVerificationNotPerformed
LivenessNotSupported
StepUpRequired
ReverificationRequired
QualityTooLow
AuthenticatorNotVerified
VerificationExpired(DateTime<Utc>)
RiskScoreTooHigh(u8)
Storage(String)
Trait Implementations§
Source§impl Debug for BiometricError
impl Debug for BiometricError
Source§impl Display for BiometricError
impl Display for BiometricError
Source§impl Error for BiometricError
impl Error for BiometricError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for BiometricError
impl RefUnwindSafe for BiometricError
impl Send for BiometricError
impl Sync for BiometricError
impl Unpin for BiometricError
impl UnsafeUnpin for BiometricError
impl UnwindSafe for BiometricError
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