Trait kernel_hal::vm::IgnoreNotMappedErr
source · [−]pub trait IgnoreNotMappedErr {
fn ignore(self) -> PagingResult;
}
Expand description
The PagingError::NotMapped
can be ignored.
Required Methods
fn ignore(self) -> PagingResult
fn ignore(self) -> PagingResult
If self is Err(PagingError::NotMapped
, ignores the error and returns
Ok(())
, otherwise remain unchanged.