Return the unique id of this [`MemoryConsumer`]
(&self)
| 316 | |
| 317 | /// Return the unique id of this [`MemoryConsumer`] |
| 318 | pub fn id(&self) -> usize { |
| 319 | self.id |
| 320 | } |
| 321 | |
| 322 | /// Set whether this allocation can be spilled to disk |
| 323 | pub fn with_can_spill(self, can_spill: bool) -> Self { |
no outgoing calls
no test coverage detected