pub trait MemoryReservation:
Debug
+ Send
+ Sync {
// Required methods
fn size(&self) -> usize;
fn resize(&mut self, new_size: usize);
}
Available on crate feature
pool
only.Expand description
A memory reservation within a MemoryPool
that is freed on drop