pub struct InterruptReasonSummary {
pub is_rx: bool,
pub is_tx: bool,
pub is_error: bool,
}
Expand description
A summary of the reasons for the interrupt that occured
Fields§
§is_rx: bool
The interrupt was caused by an RX event.
is_tx: bool
The interrupt was caused by an TX event.
is_error: bool
The interrupt was caused by an error event.
Trait Implementations§
Source§impl Clone for InterruptReasonSummary
impl Clone for InterruptReasonSummary
Source§fn clone(&self) -> InterruptReasonSummary
fn clone(&self) -> InterruptReasonSummary
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InterruptReasonSummary
impl Debug for InterruptReasonSummary
Source§impl Format for InterruptReasonSummary
impl Format for InterruptReasonSummary
impl Copy for InterruptReasonSummary
Auto Trait Implementations§
impl Freeze for InterruptReasonSummary
impl RefUnwindSafe for InterruptReasonSummary
impl Send for InterruptReasonSummary
impl Sync for InterruptReasonSummary
impl Unpin for InterruptReasonSummary
impl UnwindSafe for InterruptReasonSummary
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