fn maybe_evict(&mut self) {
        while self.current_cost > self.max_cost {
            let cur = match self.entries_tail {
                Some(t) => t,
                None => panic!("Not enough entries to explain cost"),
            };

            self.become_empty(cur);
        }
    }
/// Run a cache eviction if required.
Run a cache eviction if required.
Run a cache eviction if required .
fn maybe_evict(&mut self) {
        while self.current_cost > self.max_cost {
            let cur = match self.entries_tail {
                Some(t) => t,
                None => panic!("Not enough entries to explain cost"),
            };
            self.become_empty(cur);
        }
    }
fn maybe_evict ( & mut self ) { while self . current_cost > self . max_cost { let cur = match self . entries_tail { Some ( t ) => t , None => panic ! ( " " ) , } ; self . become_empty ( cur ) ; } }
Run a cache eviction if required.
Run a cache eviction if required .
&mut self
&mut self