// See the comments of the corresponding method in `PageAllocator`.
See the comments of the corresponding method in `PageAllocator`.
See the comments of the corresponding method in ` PageAllocator ` .
fn deserialize(serialized_page_allocator: PageAllocatorSerialization) -> Self {
        match serialized_page_allocator {
            PageAllocatorSerialization::Heap => Default::default(),
            PageAllocatorSerialization::Mmap(..) => {
                // This is really unreachable. See `serialize()`.
                unreachable!("Unexpected serialization of heap-based page allocator.");
            }
        }
    }
fn deserialize ( serialized_page_allocator : PageAllocatorSerialization ) -> Self { match serialized_page_allocator { PageAllocatorSerialization :: Heap => Default :: default ( ) , PageAllocatorSerialization :: Mmap ( .. ) => { // This is really unreachable. See `serialize()`. unreachable ! ( " " ) ; } } }
See the comments of the corresponding method in `PageAllocator`.
See the comments of the corresponding method in ` PageAllocator ` .
serialized_page_allocator
PageAllocatorSerialization