pub struct CouldNotRemoveDeviceError(pub Rs2Exception, pub String);
Expand description
An error type describing failure to remove a device from a file.
Tuple Fields§
§0: Rs2Exception
§1: String
Trait Implementations§
Source§impl Debug for CouldNotRemoveDeviceError
impl Debug for CouldNotRemoveDeviceError
Source§impl Display for CouldNotRemoveDeviceError
impl Display for CouldNotRemoveDeviceError
Source§impl Error for CouldNotRemoveDeviceError
impl Error for CouldNotRemoveDeviceError
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 CouldNotRemoveDeviceError
impl RefUnwindSafe for CouldNotRemoveDeviceError
impl Send for CouldNotRemoveDeviceError
impl Sync for CouldNotRemoveDeviceError
impl Unpin for CouldNotRemoveDeviceError
impl UnwindSafe for CouldNotRemoveDeviceError
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