#[repr(i32)]pub enum LAPolicy {
DeviceOwnerAuthenticationWithBiometrics = 1,
DeviceOwnerAuthentication = 2,
DeviceOwnerAuthenticationWithWatch = 3,
DeviceOwnerAuthenticationWithBiometricsOrWatch = 4,
DeviceOwnerAuthenticationWithWristDetection = 5,
}
Expand description
Binding to LAPolicy
of LocalAuthentication
The set of available local authentication policies.
Variants§
DeviceOwnerAuthenticationWithBiometrics = 1
User authentication with biometry.
DeviceOwnerAuthentication = 2
User authentication with Apple Watch.
DeviceOwnerAuthenticationWithWatch = 3
User authentication with either biometry or Apple Watch.
DeviceOwnerAuthenticationWithBiometricsOrWatch = 4
User authentication with biometry, Apple Watch, or the device passcode.
DeviceOwnerAuthenticationWithWristDetection = 5
User authentication with wrist detection on watchOS.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LAPolicy
impl RefUnwindSafe for LAPolicy
impl Send for LAPolicy
impl Sync for LAPolicy
impl Unpin for LAPolicy
impl UnwindSafe for LAPolicy
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