pub trait FrameAllocator {
// Required method
fn allocate_frames(
&mut self,
count: usize,
numa_node: Option<usize>,
) -> Result<FrameNumber, FrameAllocatorError>;
}Expand description
Frame allocator trait for page mapper
Required Methods§
Sourcefn allocate_frames(
&mut self,
count: usize,
numa_node: Option<usize>,
) -> Result<FrameNumber, FrameAllocatorError>
fn allocate_frames( &mut self, count: usize, numa_node: Option<usize>, ) -> Result<FrameNumber, FrameAllocatorError>
Allocate frames