Removes a record from the repository and returns it if it exists.
(&self, key: &Key)
| 102 | |
| 103 | /// Removes a record from the repository and returns it if it exists. |
| 104 | fn remove(&self, key: &Key) -> Option<Value> { |
| 105 | Self::with_db(|db| db.remove(key)) |
| 106 | } |
| 107 | |
| 108 | /// Returns the number of records stored in the repository. |
| 109 | fn len(&self) -> usize { |
no outgoing calls
no test coverage detected