pub struct I2cReadError<I2cError> {
pub register: Register,
pub source: I2cError,
}Fields§
§register: Register§source: I2cErrorTrait Implementations§
Source§impl<I2cError: Debug> Debug for I2cReadError<I2cError>
impl<I2cError: Debug> Debug for I2cReadError<I2cError>
Source§impl<I2cError> Display for I2cReadError<I2cError>
impl<I2cError> Display for I2cReadError<I2cError>
Source§impl<I2cError> Error for I2cReadError<I2cError>where
Self: Debug,
impl<I2cError> Error for I2cReadError<I2cError>where
Self: Debug,
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<I2cError> Freeze for I2cReadError<I2cError>where
I2cError: Freeze,
impl<I2cError> RefUnwindSafe for I2cReadError<I2cError>where
I2cError: RefUnwindSafe,
impl<I2cError> Send for I2cReadError<I2cError>where
I2cError: Send,
impl<I2cError> Sync for I2cReadError<I2cError>where
I2cError: Sync,
impl<I2cError> Unpin for I2cReadError<I2cError>where
I2cError: Unpin,
impl<I2cError> UnwindSafe for I2cReadError<I2cError>where
I2cError: UnwindSafe,
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