pub type HandlerFuncWithErrCode = extern "x86-interrupt" fn(_: InterruptStackFrame, error_code: u64);
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
impl HandlerFuncType for HandlerFuncWithErrCode
Source§fn to_virt_addr(self) -> VirtAddr
fn to_virt_addr(self) -> VirtAddr
Get the virtual address of the handler function.