Skip to main content

UserPageFaultHandler

Type Alias UserPageFaultHandler 

Source
pub type UserPageFaultHandler = fn(&CpuException) -> Result<(), ()>;
Expand description

A handler that handles page faults caused by user-space addresses.

The page fault is described in CpuException. If it can be resolved successfully, this method will return Ok(()). Otherwise, it should return Err(()).