pub struct CouldNotWaitForDeviceError(pub Rs2Exception, pub String);
Expand description
Error describing when the device hub failed while attempting to wait for devices.
Can occur if there is an internal system exception while waiting for devices.
Tuple Fields§
§0: Rs2Exception
§1: String
Trait Implementations§
Source§impl Debug for CouldNotWaitForDeviceError
impl Debug for CouldNotWaitForDeviceError
Source§impl Display for CouldNotWaitForDeviceError
impl Display for CouldNotWaitForDeviceError
Source§impl Error for CouldNotWaitForDeviceError
impl Error for CouldNotWaitForDeviceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CouldNotWaitForDeviceError
impl RefUnwindSafe for CouldNotWaitForDeviceError
impl Send for CouldNotWaitForDeviceError
impl Sync for CouldNotWaitForDeviceError
impl Unpin for CouldNotWaitForDeviceError
impl UnwindSafe for CouldNotWaitForDeviceError
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