Expand description
Transactional I2C operation.
Several operations can be combined as part of a transaction.
Variants
Read(&'a mut [u8])
Read data into the provided buffer
Write(&'a [u8])
Write data from the provided buffer
Trait Implementations
sourceimpl<'a> PartialEq<Operation<'a>> for Operation<'a>
impl<'a> PartialEq<Operation<'a>> for Operation<'a>
impl<'a> StructuralPartialEq for Operation<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Operation<'a>
impl<'a> Send for Operation<'a>
impl<'a> Sync for Operation<'a>
impl<'a> Unpin for Operation<'a>
impl<'a> !UnwindSafe for Operation<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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