pub trait AbstractBounceBufferAllocator {
type Error: Debug;
// Required methods
fn allocate(&mut self, layout: Layout) -> Result<usize, Self::Error>;
fn deallocate(&mut self, offset: usize, size: usize);
}
pub trait AbstractBounceBufferAllocator {
type Error: Debug;
// Required methods
fn allocate(&mut self, layout: Layout) -> Result<usize, Self::Error>;
fn deallocate(&mut self, offset: usize, size: usize);
}