(&mut self, hash: TxHash, predicate: &ValidityPredicate)
| 427 | |
| 428 | impl PredicateBucket { |
| 429 | fn insert(&mut self, hash: TxHash, predicate: &ValidityPredicate) { |
| 430 | match self { |
| 431 | Self::Flat(hashes) => { |
| 432 | hashes.insert(hash); |
| 433 | } |
| 434 | Self::Ordered(bucket) => bucket.insert(hash, predicate), |
| 435 | } |
| 436 | } |
| 437 | |
| 438 | fn remove(&mut self, hash: TxHash, predicate: &ValidityPredicate) { |
| 439 | match self { |
no test coverage detected