pub enum Method {
JustWorks,
NumericComparison,
PasskeyInitiatorInputs,
PasskeyResponderInputs,
PasskeyBothInput,
OutOfBand,
}Expand description
How the two devices authenticate each other.
Variants§
JustWorks
No authentication (no MITM protection).
NumericComparison
Both show six digits and a person confirms they match (Secure Connections).
PasskeyInitiatorInputs
The initiator types what the responder shows.
PasskeyResponderInputs
The responder types what the initiator shows.
PasskeyBothInput
A person types the same passkey into both.
OutOfBand
Data exchanged out of band (NFC, a QR code).
Trait Implementations§
impl Copy for Method
impl Eq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Forget for Method
impl Freeze for Method
impl Move for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnsafeUnpin for Method
impl UnwindSafe for Method
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