pub trait BarAllocator {
// Required methods
fn alloc_memory32(&mut self, size: u32) -> Option<u32>;
fn alloc_memory64(&mut self, size: u64) -> Option<u64>;
}pub trait BarAllocator {
// Required methods
fn alloc_memory32(&mut self, size: u32) -> Option<u32>;
fn alloc_memory64(&mut self, size: u64) -> Option<u64>;
}