pub trait InterruptCapableDevice: Send + Sync {
// Required methods
fn handle_interrupt(&self) -> InterruptResult<()>;
fn interrupt_id(&self) -> Option<InterruptId>;
}
Expand description
Interrupt capable device trait.
Devices that can handle interrupts must implement this trait.