pub fn update(&mut self, pages: &[(PageIndex, &PageBytes)]) -> Vec<PageIndex> {
        let page_delta = self.page_allocator.allocate(pages);
        self.apply(page_delta);
        pages.iter().map(|(index, _)| *index).collect()
    }
/// Modifies this page map by adding the given dirty pages to it.
/// Returns a list of dirty page indicies and an indication of whether the
/// page allocator was created or not, which is used for synchronization
/// with the sandbox process.
Modifies this page map by adding the given dirty pages to it.
Returns a list of dirty page indicies and an indication of whether the
page allocator was created or not, which is used for synchronization
with the sandbox process.
Modifies this page map by adding the given dirty pages to it . Returns a list of dirty page indicies and an indication of whether the page allocator was created or not which is used for synchronization with the sandbox process .
pub fn update(&mut self, pages: &[(PageIndex, &PageBytes)]) -> Vec<PageIndex> {
        let page_delta = self.page_allocator.allocate(pages);
        self.apply(page_delta);
        pages.iter().map(|(index, _)| *index).collect()
    }
pub fn update ( & mut self , pages : & [ ( PageIndex , & PageBytes ) ] ) -> Vec < PageIndex > { let page_delta = self . page_allocator . allocate ( pages ) ; self . apply ( page_delta ) ; pages . iter ( ) . map ( | ( index , _ ) | * index ) . collect ( ) }
Modifies this page map by adding the given dirty pages to it.
Modifies this page map by adding the given dirty pages to it .
&mut self
pages
&[(PageIndex, &PageBytes)]
&mut self
pages
&[(PageIndex, &PageBytes)]