#[non_exhaustive]pub enum Event {
SmbusAlert,
GeneralCall,
Address0Match(u16),
Address1Match(u16),
Stop(u16),
RepeatedStart(u16),
TransmitAck,
AddressValid(u16),
ReceiveData,
TransmitData,
}Expand description
I2C target events
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SmbusAlert
GeneralCall
Address0Match(u16)
Address1Match(u16)
Stop(u16)
RepeatedStart(u16)
TransmitAck
AddressValid(u16)
ReceiveData
TransmitData
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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