pub trait SoftAlloc {
// Required methods
fn match_generation(&self, index: &GenerationalIndex) -> bool;
fn allocate(&mut self, vec_len: usize) -> GenerationalIndex;
fn deallocate(&mut self, index: &GenerationalIndex) -> Result<(), Error>;
}