(&self, ctx: &mut DFHeapSizeCtx)
| 112 | |
| 113 | impl DFHeapSize for CachedFileMetadata { |
| 114 | fn heap_size(&self, ctx: &mut DFHeapSizeCtx) -> usize { |
| 115 | self.meta.size.heap_size(ctx) |
| 116 | + self.meta.last_modified.heap_size(ctx) |
| 117 | + self.meta.version.heap_size(ctx) |
| 118 | + self.meta.e_tag.heap_size(ctx) |
| 119 | + self.meta.location.as_ref().heap_size(ctx) |
| 120 | + self.statistics.heap_size(ctx) |
| 121 | //TODO add ordering once LexOrdering/PhysicalExpr implements DFHeapSize |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | /// Represents information about a cached statistics entry. |