pub trait Vmm {
// Required methods
fn allocate_contiguous(&self, len: usize) -> Result<RawPage, AllocError>;
fn allocate_contiguous_at(
&self,
at: RawPage,
len: usize,
) -> Result<RawPage, AllocError>;
fn deallocate_contiguous(&self, base: RawPage, len: usize);
}Available on crate feature
full only.Expand description
A virtual memory allocator