pub struct DeviceErrorInfo {
pub err: DeviceErrorKind,
pub device_index: usize,
}Expand description
Combines the DeviceErrorKind with the device_index to identify in a daisy chain case where the Error occured
Fields§
§err: DeviceErrorKind§device_index: usizeTrait Implementations§
Source§impl Clone for DeviceErrorInfo
impl Clone for DeviceErrorInfo
Source§fn clone(&self) -> DeviceErrorInfo
fn clone(&self) -> DeviceErrorInfo
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 DeviceErrorInfo
Auto Trait Implementations§
impl Freeze for DeviceErrorInfo
impl RefUnwindSafe for DeviceErrorInfo
impl Send for DeviceErrorInfo
impl Sync for DeviceErrorInfo
impl Unpin for DeviceErrorInfo
impl UnsafeUnpin for DeviceErrorInfo
impl UnwindSafe for DeviceErrorInfo
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