x86_64::structures::idt

Trait HandlerFuncType

Source
pub unsafe trait HandlerFuncType {
    // Required method
    fn to_virt_addr(self) -> VirtAddr;
}
Expand description

A common trait for all handler functions usable in Entry.

§Safety

Implementors have to ensure that to_virt_addr returns a valid address.

Required Methods§

Source

fn to_virt_addr(self) -> VirtAddr

Get the virtual address of the handler function.

Implementors§