struct InterruptInner {
interrupt_status: AtomicUsize,
transport: Transport,
async_intr_status: bool,
pm_state: Mutex<PmState>,
}Fields§
§interrupt_status: AtomicUsize§transport: Transport§async_intr_status: bool§pm_state: Mutex<PmState>Implementations§
Source§impl InterruptInner
impl InterruptInner
Sourcefn update_interrupt_status(&self, interrupt_status_mask: u32) -> bool
fn update_interrupt_status(&self, interrupt_status_mask: u32) -> bool
Add interrupt_status_mask to any existing interrupt status.
Returns true if the interrupt should be triggered after this update.
Auto Trait Implementations§
impl !Freeze for InterruptInner
impl !RefUnwindSafe for InterruptInner
impl Send for InterruptInner
impl Sync for InterruptInner
impl Unpin for InterruptInner
impl !UnwindSafe for InterruptInner
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