pub enum TwiError {
DeviceBusy,
BusError,
NotAcknowledged,
BufferOverflow,
}
Variants§
DeviceBusy
The device is busy and cannot accept the command
BusError
A bus error prevented the command being sent
NotAcknowledged
No device acknowledged the command
BufferOverflow
Receive buffer overflowed
Trait Implementations§
source§impl PartialEq for TwiError
impl PartialEq for TwiError
impl Copy for TwiError
impl Eq for TwiError
impl StructuralPartialEq for TwiError
Auto Trait Implementations§
impl Freeze for TwiError
impl RefUnwindSafe for TwiError
impl Send for TwiError
impl Sync for TwiError
impl Unpin for TwiError
impl UnwindSafe for TwiError
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