pub struct FrameAlloc;Trait Implementations§
Source§impl Display for FrameAlloc
impl Display for FrameAlloc
Source§impl FrameAllocator<Size4KiB> for FrameAlloc
impl FrameAllocator<Size4KiB> for FrameAlloc
Source§impl PageRangeAllocator for FrameAlloc
impl PageRangeAllocator for FrameAlloc
unsafe fn init()
Source§fn allocate(layout: PageLayout) -> Result<PageRange, AllocError>
fn allocate(layout: PageLayout) -> Result<PageRange, AllocError>
Attempts to allocate a range of memory in page granularity.
Source§fn allocate_at(range: PageRange) -> Result<(), AllocError>
fn allocate_at(range: PageRange) -> Result<(), AllocError>
Attempts to allocate the pages described by
range.Source§unsafe fn deallocate(range: PageRange)
unsafe fn deallocate(range: PageRange)
Deallocates the pages described by
range. Read moreAuto Trait Implementations§
impl Freeze for FrameAlloc
impl RefUnwindSafe for FrameAlloc
impl Send for FrameAlloc
impl Sync for FrameAlloc
impl Unpin for FrameAlloc
impl UnwindSafe for FrameAlloc
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