(&mut self, rquery: RQuery<K, Doc>)
| 20 | } |
| 21 | |
| 22 | pub fn stash(&mut self, rquery: RQuery<K, Doc>) { |
| 23 | let (type_id, key, doc) = rquery.into_raw(); |
| 24 | let time = Instant::now(); |
| 25 | self.mapper.insert((type_id, key), (time, doc)); |
| 26 | } |
| 27 | |
| 28 | |
| 29 | pub fn get_page(self) -> Vec<(Instant, RQuery<K, Doc>)> { |
no test coverage detected