pub enum FramesIteratorRequest {
Next,
Stop,
AllocateAt {
requested_frame: Frame<Page4K>,
num_frames: usize,
},
}
Expand description
An enum that must be returned by the function passed into inspect_then_allocate_free_frames()
in order to define the post-iteration behavior.
Variants§
Next
Keep iterating to the next chunk of frames.
Stop
Stop iterating, and do not allocate anything.
AllocateAt
Stop iterating, and then attempt to allocate the specified frames.
Auto Trait Implementations§
impl RefUnwindSafe for FramesIteratorRequest
impl Send for FramesIteratorRequest
impl Sync for FramesIteratorRequest
impl Unpin for FramesIteratorRequest
impl UnwindSafe for FramesIteratorRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more