pub enum FindProgress {
CacheHit,
ScanAttempt {
attempt: u32,
total: u32,
duration_secs: u64,
},
Found {
attempt: u32,
},
RetryNeeded {
attempt: u32,
},
}Expand description
Progress update for device finding operations.
Variants§
CacheHit
Found the device among the devices the adapter already knows, without scanning for it: before the first scan, or after waiting for another search’s scan.
ScanAttempt
Starting scan attempt.
Fields
Found
Device found on specific attempt.
RetryNeeded
Attempt failed, will retry.
Trait Implementations§
Source§impl Clone for FindProgress
impl Clone for FindProgress
Source§fn clone(&self) -> FindProgress
fn clone(&self) -> FindProgress
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 moreAuto Trait Implementations§
impl Freeze for FindProgress
impl RefUnwindSafe for FindProgress
impl Send for FindProgress
impl Sync for FindProgress
impl Unpin for FindProgress
impl UnwindSafe for FindProgress
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