#[non_exhaustive]pub enum LACredentialType {
ApplicationPassword,
SmartCardPin,
}Expand description
Credential kinds accepted by LAContext::set_credential.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ApplicationPassword
Application-provided password data.
SmartCardPin
Application-provided smart-card PIN data.
Implementations§
Trait Implementations§
Source§impl Clone for LACredentialType
impl Clone for LACredentialType
Source§fn clone(&self) -> LACredentialType
fn clone(&self) -> LACredentialType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LACredentialType
impl Debug for LACredentialType
Source§impl Hash for LACredentialType
impl Hash for LACredentialType
Source§impl PartialEq for LACredentialType
impl PartialEq for LACredentialType
Source§fn eq(&self, other: &LACredentialType) -> bool
fn eq(&self, other: &LACredentialType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LACredentialType
impl Eq for LACredentialType
impl StructuralPartialEq for LACredentialType
Auto Trait Implementations§
impl Freeze for LACredentialType
impl RefUnwindSafe for LACredentialType
impl Send for LACredentialType
impl Sync for LACredentialType
impl Unpin for LACredentialType
impl UnsafeUnpin for LACredentialType
impl UnwindSafe for LACredentialType
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