pub enum PasskeyMethod {
Keyboard(String),
Pointer {
passkey: String,
clicks: Vec<Click>,
},
}Expand description
How the user authenticates the device during Bolt pairing.
Crosses the agent↔GUI IPC (inside PairingUpdate::Passkey, Click
included), so variant and field order are wire format — changes require a
PROTOCOL_VERSION bump (guarded by
openlogi-agent-core/tests/wire_format.rs).
Variants§
Keyboard(String)
Type these digits on the new keyboard, then press Enter.
Pointer
On the new pointer, perform this left/right click sequence, then click both buttons together.
Trait Implementations§
Source§impl Clone for PasskeyMethod
impl Clone for PasskeyMethod
Source§fn clone(&self) -> PasskeyMethod
fn clone(&self) -> PasskeyMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PasskeyMethod
impl Debug for PasskeyMethod
Source§impl<'de> Deserialize<'de> for PasskeyMethod
impl<'de> Deserialize<'de> for PasskeyMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PasskeyMethod
impl RefUnwindSafe for PasskeyMethod
impl Send for PasskeyMethod
impl Sync for PasskeyMethod
impl Unpin for PasskeyMethod
impl UnsafeUnpin for PasskeyMethod
impl UnwindSafe for PasskeyMethod
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