pub enum I2CEvent<'a> {
Initiated {
direction: Direction,
},
ReceivedByte {
byte: u8,
},
RequestedByte {
byte: &'a mut u8,
},
Stopped,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for I2CEvent<'a>
impl<'a> RefUnwindSafe for I2CEvent<'a>
impl<'a> Send for I2CEvent<'a>
impl<'a> Sync for I2CEvent<'a>
impl<'a> Unpin for I2CEvent<'a>
impl<'a> !UnwindSafe for I2CEvent<'a>
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