Type Definition kernel_hal::vm::PagingResult
source · [−]pub type PagingResult<T = ()> = Result<T, PagingError>;
Expand description
Address translation result.
Trait Implementations
sourceimpl<T> IgnoreNotMappedErr for PagingResult<T>
impl<T> IgnoreNotMappedErr for PagingResult<T>
sourcefn ignore(self) -> PagingResult
fn ignore(self) -> PagingResult
If self is Err(PagingError::NotMapped
, ignores the error and returns
Ok(())
, otherwise remain unchanged. Read more