// 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 serialize_page_delta<'a, I>(&'a self, page_delta: I) -> PageDeltaSerialization
    where
        I: IntoIterator<Item = (PageIndex, &'a Page<Self::PageInner>)>,
    {
        // Copy the contents of all pages.
        let pages = page_delta
            .into_iter()
            .map(|(index, page)| PageSerialization {
                index,
                bytes: *page.0.contents(),
            })
            .collect();
        PageDeltaSerialization::Heap(pages)
    }
fn serialize_page_delta < ' a , I > ( & ' a self , page_delta : I ) -> PageDeltaSerialization where I : IntoIterator < Item = ( PageIndex , & ' a Page < Self :: PageInner > ) > , { // Copy the contents of all pages. let pages = page_delta . into_iter ( ) . map ( | ( index , page ) | PageSerialization { index , bytes : * page . 0 . contents ( ) , } ) . collect ( ) ; PageDeltaSerialization :: Heap ( pages ) }
See the comments of the corresponding method in `PageAllocator`.
See the comments of the corresponding method in ` PageAllocator ` .
&'a self
page_delta
I