Struct linux_embedded_hal::I2CError 
source · pub struct I2CError { /* private fields */ }Expand description
Error type wrapping LinuxI2CError to implement embedded_hal::i2c::ErrorKind
Implementations§
Trait Implementations§
source§impl Error for I2CError
 
impl Error for I2CError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<LinuxI2CError> for I2CError
 
impl From<LinuxI2CError> for I2CError
source§fn from(err: LinuxI2CError) -> Self
 
fn from(err: LinuxI2CError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for I2CError
impl Send for I2CError
impl Sync for I2CError
impl Unpin for I2CError
impl !UnwindSafe for I2CError
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