Returns [MemoryConsumer] for this [MemoryReservation]
(&self)
| 383 | |
| 384 | /// Returns [MemoryConsumer] for this [MemoryReservation] |
| 385 | pub fn consumer(&self) -> &MemoryConsumer { |
| 386 | &self.registration.consumer |
| 387 | } |
| 388 | |
| 389 | /// Frees all bytes from this reservation back to the underlying |
| 390 | /// pool, returning the number of bytes freed. |