// 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::Mmap(file_descriptor) => {
                Self::open(file_descriptor, BackingFileOwner::AnotherAllocator)
            }
            PageAllocatorSerialization::Heap => {
                // This is really unreachable. See `serialize()`.
                unreachable!("Unexpected serialization of MmapBasedPageAllocator");
            }
        }
    }
fn deserialize ( serialized_page_allocator : PageAllocatorSerialization ) -> Self { match serialized_page_allocator { PageAllocatorSerialization :: Mmap ( file_descriptor ) => { Self :: open ( file_descriptor , BackingFileOwner :: AnotherAllocator ) } PageAllocatorSerialization :: Heap => { // 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