Trait os::mm::frame_allocator::FrameAllocator
source · trait FrameAllocator {
// Required methods
fn new() -> Self;
fn alloc(&mut self) -> Option<PhysPageNum>;
fn dealloc(&mut self, ppn: PhysPageNum);
}