pub enum PairingStatus {
SessionCreated {
token: Box<PairingToken>,
ttl_seconds: u64,
},
WaitingForApproval,
Approved,
}Expand description
Progress events fired by initiate_online_pairing so the CLI can update spinners.
The SDK fires these during the async operation — the callback must not block.
Variants§
SessionCreated
The session was registered; contains the token for QR display and TTL info.
Fields
§
token: Box<PairingToken>Pairing token (used to render the QR code).
WaitingForApproval
The SDK is now waiting for a device to respond.
Approved
A device response was received.
Auto Trait Implementations§
impl Freeze for PairingStatus
impl RefUnwindSafe for PairingStatus
impl Send for PairingStatus
impl Sync for PairingStatus
impl Unpin for PairingStatus
impl UnsafeUnpin for PairingStatus
impl UnwindSafe for PairingStatus
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