pub trait CacheTotalCharge {
// Required method
fn total_charge(&self) -> usize;
}
Required Methods§
Sourcefn total_charge(&self) -> usize
fn total_charge(&self) -> usize
| Return an estimate of the combined charges | of all elements stored in the cache. |