pub type HandlerFuncWithErrCode = extern "x86-interrupt" fn(_: InterruptStackFrame, error_code: u64);
Available on crate feature abi_x86_interrupt only.
Expand description

A handler function for an exception that pushes an error code.

This type alias is only usable with the abi_x86_interrupt feature enabled.

Trait Implementations§

source§

impl HandlerFuncType for HandlerFuncWithErrCode

source§

fn to_virt_addr(self) -> VirtAddr

Get the virtual address of the handler function.