pub trait Handler {
    type Data: ForeignOwnable;

    fn handle_irq(data: <Self::Data as ForeignOwnable>::Borrowed<'_>) -> Return;
}
Expand description

An irq handler.

Required Associated Types

The context data associated with and made available to the handler.

Required Methods

Called from interrupt context when the irq happens.

Implementors

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.