pub struct Event {
pub timestamp: Duration,
pub seqno: u32,
pub trigger: Trigger,
}
Expand description
Interrupt trigger event.
Fields§
§timestamp: Duration
Best estimate of time of event occurrence, measured in elapsed time since the system was booted.
seqno: u32
Sequence number for this event in the sequence of interrupt trigger events for this pin.
trigger: Trigger
Interrupt trigger. This will contain either Trigger::RisingEdge or Trigger::FallingEdge.
Trait Implementations§
impl Copy for Event
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