pub enum ResidentKeyRequirement {
Discouraged,
Preferred,
Required,
}Expand description
Whether the authenticator should store the credential itself.
A resident (discoverable) credential can be picked from a list without the user typing a username first; otherwise the server must name the credential up front. Storage on the authenticator is limited, hence the choice.
Variants§
Discouraged
Do not create a resident credential.
Preferred
Create one if possible.
Required
Fail registration if one cannot be created.
Trait Implementations§
Source§impl Debug for ResidentKeyRequirement
impl Debug for ResidentKeyRequirement
Auto Trait Implementations§
impl Freeze for ResidentKeyRequirement
impl RefUnwindSafe for ResidentKeyRequirement
impl Send for ResidentKeyRequirement
impl Sync for ResidentKeyRequirement
impl Unpin for ResidentKeyRequirement
impl UnsafeUnpin for ResidentKeyRequirement
impl UnwindSafe for ResidentKeyRequirement
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