pub fn inspect_then_allocate_free_frames<F>(
    func: &mut F
) -> Result<Option<AllocatedFrames<Page4K>>, &'static str>where
    F: FnMut(&FreeFrames) -> FramesIteratorRequest,
Expand description

Iterates over all free frames and invokes the given func on each one in order to determine what to do with those frames.

See FramesIteratorRequest for more detail.