pub enum ScanEntry {
Found(Device),
Skipped(SkippedDevice),
}Expand description
A successfully opened device or a rejected candidate.
Variants§
Found(Device)
An opened device.
Skipped(SkippedDevice)
A rejected candidate.
Tuple Fields
§
0: SkippedDeviceThe candidate and its classified error.
Implementations§
Trait Implementations§
Source§impl Extend<ScanEntry> for DeviceScan
impl Extend<ScanEntry> for DeviceScan
Source§fn extend<I: IntoIterator<Item = ScanEntry>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = ScanEntry>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: T)
fn extend_one(&mut self, item: T)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ScanEntry
impl !Send for ScanEntry
impl !Sync for ScanEntry
impl !UnwindSafe for ScanEntry
impl Freeze for ScanEntry
impl Unpin for ScanEntry
impl UnsafeUnpin for ScanEntry
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