Struct objc2_local_authentication::LAError
source · #[repr(transparent)]pub struct LAError(pub NSInteger);
Available on crate feature
LAError
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl LAError
impl LAError
pub const AuthenticationFailed: Self = _
pub const UserCancel: Self = _
pub const UserFallback: Self = _
pub const SystemCancel: Self = _
pub const PasscodeNotSet: Self = _
pub const TouchIDNotAvailable: Self = _
👎Deprecated: use LAErrorBiometryNotAvailable
pub const TouchIDNotEnrolled: Self = _
👎Deprecated: use LAErrorBiometryNotEnrolled
pub const TouchIDLockout: Self = _
👎Deprecated: use LAErrorBiometryLockout
pub const AppCancel: Self = _
pub const InvalidContext: Self = _
pub const BiometryNotAvailable: Self = _
pub const BiometryNotEnrolled: Self = _
pub const BiometryLockout: Self = _
pub const NotInteractive: Self = _
pub const WatchNotAvailable: Self = _
pub const BiometryNotPaired: Self = _
pub const BiometryDisconnected: Self = _
pub const InvalidDimensions: Self = _
Trait Implementations§
source§impl Ord for LAError
impl Ord for LAError
source§impl PartialEq for LAError
impl PartialEq for LAError
source§impl PartialOrd for LAError
impl PartialOrd for LAError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for LAError
impl RefEncode for LAError
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for LAError
impl Eq for LAError
impl StructuralPartialEq for LAError
Auto Trait Implementations§
impl Freeze for LAError
impl RefUnwindSafe for LAError
impl Send for LAError
impl Sync for LAError
impl Unpin for LAError
impl UnwindSafe for LAError
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.