pub enum UiHint<'a, P> {
InformExcludedCredentialFound(&'a P),
InformNoCredentialsFound,
RequestNewCredential(&'a PublicKeyCredentialUserEntity, &'a PublicKeyCredentialRpEntity),
RequestExistingCredential(&'a P),
}Expand description
Additional information that can be displayed to the user if the authenticator has a display.
Variants§
InformExcludedCredentialFound(&'a P)
Inform the user that the operation cannot be completed because the user already has a credential registered.
InformNoCredentialsFound
Inform the user that the operation cannot be completed because the user has no matching credentials registered.
RequestNewCredential(&'a PublicKeyCredentialUserEntity, &'a PublicKeyCredentialRpEntity)
Request permission to save the credential in this object.
RequestExistingCredential(&'a P)
Request permission to use the existing credential in this object.
Trait Implementations§
impl<'a, P> StructuralPartialEq for UiHint<'a, P>
Auto Trait Implementations§
impl<'a, P> Freeze for UiHint<'a, P>
impl<'a, P> RefUnwindSafe for UiHint<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for UiHint<'a, P>where
P: Sync,
impl<'a, P> Sync for UiHint<'a, P>where
P: Sync,
impl<'a, P> Unpin for UiHint<'a, P>
impl<'a, P> UnwindSafe for UiHint<'a, P>where
P: RefUnwindSafe,
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