pub enum Method {
Biometric,
DeviceCredential,
Unknown,
}Expand description
How the person passed the prompt.
Variants§
Biometric
A biometric match.
DeviceCredential
The device passcode, PIN, pattern or account password.
Unknown
The platform did not say (macOS and Windows report a pass without the method).
Trait Implementations§
impl Copy for Method
impl Eq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnsafeUnpin for Method
impl UnwindSafe for Method
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