pub struct InterruptEvent {
pub resource: ResourceId,
pub sequence: u64,
pub count: u64,
pub timestamp_ns: i64,
pub coalesced_count: u64,
}Expand description
One interrupt event report returned to waiters and audited (Spec 11.7, 17).
Fields§
§resource: ResourceIdThe interrupt resource ID.
sequence: u64Monotonically increasing sequence number for this interrupt resource.
count: u64Total lifetime count of interrupts on this resource.
timestamp_ns: i64Target monotonic timestamp (in nanoseconds) when the interrupt triggered.
coalesced_count: u64Number of coalesced events since the last waiter read/drain.
Trait Implementations§
Source§impl Clone for InterruptEvent
impl Clone for InterruptEvent
impl Copy for InterruptEvent
Source§impl Debug for InterruptEvent
impl Debug for InterruptEvent
impl Eq for InterruptEvent
Source§impl PartialEq for InterruptEvent
impl PartialEq for InterruptEvent
impl StructuralPartialEq for InterruptEvent
Auto Trait Implementations§
impl Freeze for InterruptEvent
impl RefUnwindSafe for InterruptEvent
impl Send for InterruptEvent
impl Sync for InterruptEvent
impl Unpin for InterruptEvent
impl UnsafeUnpin for InterruptEvent
impl UnwindSafe for InterruptEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.