Struct linux_embedded_hal::I2CError 
source · [−]pub struct I2CError { /* private fields */ }Expand description
Error type wrapping LinuxI2CError to implement embedded_hal::i2c::ErrorKind
Implementations
sourceimpl I2CError
 
impl I2CError
sourcepub fn inner(&self) -> &LinuxI2CError
 
pub fn inner(&self) -> &LinuxI2CError
Fetch inner (concrete) [LinuxI2CError]
Trait Implementations
sourceimpl From<LinuxI2CError> for I2CError
 
impl From<LinuxI2CError> for I2CError
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more