pub struct SkippedDevice {
pub device_type: DeviceType,
pub model: String,
pub path: String,
pub error: Error,
}Expand description
A candidate rejected during opening, selection, or probing.
Fields§
§device_type: DeviceTypeThe rejected device family.
model: StringThe discovery model identifier.
path: StringThe discovery path.
error: ErrorThe classified error.
Implementations§
Source§impl SkippedDevice
impl SkippedDevice
Sourcepub fn new(
device_type: DeviceType,
model: impl Into<String>,
path: impl Into<String>,
error: &(dyn Error + 'static),
) -> SkippedDevice
pub fn new( device_type: DeviceType, model: impl Into<String>, path: impl Into<String>, error: &(dyn Error + 'static), ) -> SkippedDevice
Creates a rejected-candidate record by classifying an error.
Trait Implementations§
Source§impl Clone for SkippedDevice
impl Clone for SkippedDevice
Source§fn clone(&self) -> SkippedDevice
fn clone(&self) -> SkippedDevice
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 moreAuto Trait Implementations§
impl Freeze for SkippedDevice
impl RefUnwindSafe for SkippedDevice
impl Send for SkippedDevice
impl Sync for SkippedDevice
impl Unpin for SkippedDevice
impl UnsafeUnpin for SkippedDevice
impl UnwindSafe for SkippedDevice
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