pub struct LAEnvironmentMechanismCompanion { /* private fields */ }Expand description
Companion-device LAEnvironment mechanism details.
Implementations§
Source§impl LAEnvironmentMechanismCompanion
impl LAEnvironmentMechanismCompanion
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 Apple Watch.
§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.
Sourcepub fn companion_type(&self) -> Result<LACompanionType>
pub fn companion_type(&self) -> Result<LACompanionType>
Trait Implementations§
Auto Trait Implementations§
impl !Send for LAEnvironmentMechanismCompanion
impl !Sync for LAEnvironmentMechanismCompanion
impl Freeze for LAEnvironmentMechanismCompanion
impl RefUnwindSafe for LAEnvironmentMechanismCompanion
impl Unpin for LAEnvironmentMechanismCompanion
impl UnsafeUnpin for LAEnvironmentMechanismCompanion
impl UnwindSafe for LAEnvironmentMechanismCompanion
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