pub struct DeviceInterruptSource { /* private fields */ }
Expand description
A source of device interrupts.
This is intended to be used by the device backends to signal the
DeviceInterrupt
instances used by the drivers.
Implementations§
Source§impl DeviceInterruptSource
impl DeviceInterruptSource
Sourcepub fn new_target(&self) -> DeviceInterrupt
pub fn new_target(&self) -> DeviceInterrupt
Creates a new interrupt target, each of which is notified when signal
is called.
Sourcepub fn signal_uncached(&self)
pub fn signal_uncached(&self)
Signals all interrupt targets without using the target cache. Use
signal
instead when you have a mutable reference.
Auto Trait Implementations§
impl Freeze for DeviceInterruptSource
impl !RefUnwindSafe for DeviceInterruptSource
impl Send for DeviceInterruptSource
impl Sync for DeviceInterruptSource
impl Unpin for DeviceInterruptSource
impl !UnwindSafe for DeviceInterruptSource
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