Configure whether to allow allocation attempts after an OOM has already been injected. The default is `false`.
(&mut self, allow: bool)
| 270 | /// |
| 271 | /// The default is `false`. |
| 272 | pub fn allow_alloc_after_oom(&mut self, allow: bool) -> &mut Self { |
| 273 | self.allow_alloc_after_oom = allow; |
| 274 | self |
| 275 | } |
| 276 | |
| 277 | /// Configure whether allocations after an OOM (assuming |
| 278 | /// `allow_alloc_after_oom(true)`) will succeed or will always return null. |
no outgoing calls