Increase the size of this reservation by `capacity` bytes
(&self, capacity: usize)
| 461 | |
| 462 | /// Increase the size of this reservation by `capacity` bytes |
| 463 | pub fn grow(&self, capacity: usize) { |
| 464 | self.registration.pool.grow(self, capacity); |
| 465 | self.size.fetch_add(capacity, atomic::Ordering::Relaxed); |
| 466 | } |
| 467 | |
| 468 | /// Try to increase the size of this reservation by `capacity` |
| 469 | /// bytes, returning error if there is insufficient capacity left |
no outgoing calls