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