pub struct LAEnvironmentMechanism { /* private fields */ }Expand description
Common properties shared by every LAEnvironment authentication mechanism.
Implementations§
Source§impl LAEnvironmentMechanism
impl LAEnvironmentMechanism
Sourcepub fn is_usable(&self) -> Result<bool>
pub fn is_usable(&self) -> Result<bool>
Whether the mechanism is currently usable for authentication.
§Errors
Returns an error if the Swift bridge rejects the request.
Sourcepub fn localized_name(&self) -> Result<String>
pub fn localized_name(&self) -> Result<String>
Localized display name such as Touch ID or Password.
§Errors
Returns an error if the Swift bridge rejects the request.
Sourcepub fn icon_system_name(&self) -> Result<String>
pub fn icon_system_name(&self) -> Result<String>
SF Symbol name representing this mechanism.
§Errors
Returns an error if the Swift bridge rejects the request.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LAEnvironmentMechanism
impl RefUnwindSafe for LAEnvironmentMechanism
impl !Send for LAEnvironmentMechanism
impl !Sync for LAEnvironmentMechanism
impl Unpin for LAEnvironmentMechanism
impl UnsafeUnpin for LAEnvironmentMechanism
impl UnwindSafe for LAEnvironmentMechanism
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