pub struct DeviceScan {
pub devices: Vec<Device>,
pub skipped: Vec<SkippedDevice>,
}Expand description
Opened devices and rejected candidates collected by a scan.
Fields§
§devices: Vec<Device>Successfully opened devices; metadata availability depends on the scan operation.
skipped: Vec<SkippedDevice>Candidates rejected during the scan.
Trait Implementations§
Source§impl Default for DeviceScan
impl Default for DeviceScan
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 DeviceScan
impl !Send for DeviceScan
impl !Sync for DeviceScan
impl !UnwindSafe for DeviceScan
impl Freeze for DeviceScan
impl Unpin for DeviceScan
impl UnsafeUnpin for DeviceScan
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