#[non_exhaustive]pub enum PairingProgress {
Preparing,
WaitingForDelivery,
WaitingForResponse,
Completing,
Completed,
}Expand description
A stage reported while a pairing operation is running.
A successful operation reports Preparing, WaitingForDelivery,
optionally one or more WaitingForResponse updates, Completing, and
Completed, in that order. An operation that fails stops without reporting
Completed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Preparing
Agentknock is reading local state and preparing the protected request.
WaitingForDelivery
The request is waiting to be delivered to the device.
WaitingForResponse
The device has received the request but hasn’t returned a response.
Completing
Agentknock is processing the response and handing off the completion.
Completed
The operation has finished successfully.
Trait Implementations§
Source§impl Clone for PairingProgress
impl Clone for PairingProgress
Source§fn clone(&self) -> PairingProgress
fn clone(&self) -> PairingProgress
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 moreimpl Copy for PairingProgress
Source§impl Debug for PairingProgress
impl Debug for PairingProgress
impl Eq for PairingProgress
Source§impl PartialEq for PairingProgress
impl PartialEq for PairingProgress
impl StructuralPartialEq for PairingProgress
Auto Trait Implementations§
impl Freeze for PairingProgress
impl RefUnwindSafe for PairingProgress
impl Send for PairingProgress
impl Sync for PairingProgress
impl Unpin for PairingProgress
impl UnsafeUnpin for PairingProgress
impl UnwindSafe for PairingProgress
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