/// The error type for page table operation failures.
#[derive(Debug, PartialEq)]pubenumPagingError{/// Cannot allocate memory.
NoMemory,/// The address is not aligned to the page size.
NotAligned,/// The mapping is not present.
NotMapped,/// The mapping is already present.
AlreadyMapped,/// The page table entry represents a huge page, but the target physical
/// frame is 4K in size.
MappedToHugePage,}/// The specialized `Result` type for page table operations.
pubtypePagingResult<T =()>=Result<T, PagingError>;