pub trait AllocBound {
// Required methods
fn try_alloc(&mut self, amount: usize) -> Result<(), AllocError>;
fn dealloc(&mut self, amount: usize);
}
pub trait AllocBound {
// Required methods
fn try_alloc(&mut self, amount: usize) -> Result<(), AllocError>;
fn dealloc(&mut self, amount: usize);
}