pub enum AuthInteraction {
None,
PasswordEntry,
HardwareTouch,
}Expand description
What kind of user interaction a backend requires.
Variants§
None
No interaction – backend can unlock silently (SSH software key, TPM, keyring).
PasswordEntry
Password/PIN entry required (keyboard input).
HardwareTouch
Physical touch on hardware token required (FIDO2, PIV with touch policy).
Trait Implementations§
Source§impl Clone for AuthInteraction
impl Clone for AuthInteraction
Source§fn clone(&self) -> AuthInteraction
fn clone(&self) -> AuthInteraction
Returns a duplicate of the value. Read more
1.0.0 · 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 AuthInteraction
impl Debug for AuthInteraction
Source§impl PartialEq for AuthInteraction
impl PartialEq for AuthInteraction
impl Copy for AuthInteraction
impl Eq for AuthInteraction
impl StructuralPartialEq for AuthInteraction
Auto Trait Implementations§
impl Freeze for AuthInteraction
impl RefUnwindSafe for AuthInteraction
impl Send for AuthInteraction
impl Sync for AuthInteraction
impl Unpin for AuthInteraction
impl UnwindSafe for AuthInteraction
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