pub enum Biometry {
None,
Fingerprint,
Face,
Iris,
Unknown,
}Expand description
The kind of biometric sensor the device offers for app prompts.
Variants§
None
No biometric sensor: a prompt can still succeed with the device credential.
Fingerprint
A fingerprint reader (Touch ID, Android fingerprint, a Windows Hello fingerprint reader).
Face
Face recognition (Face ID, Android face unlock, Windows Hello face).
Iris
An iris scanner (Android).
Unknown
A sensor the platform has but does not describe to apps, or several kinds at once. Windows Hello never says which credential a person set up; Apple’s Optic ID reports here.
Trait Implementations§
impl Copy for Biometry
impl Eq for Biometry
impl StructuralPartialEq for Biometry
Auto Trait Implementations§
impl Freeze for Biometry
impl RefUnwindSafe for Biometry
impl Send for Biometry
impl Sync for Biometry
impl Unpin for Biometry
impl UnsafeUnpin for Biometry
impl UnwindSafe for Biometry
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