Inserts a record into the repository.
(&self, key: Key, value: Value)
| 97 | |
| 98 | /// Inserts a record into the repository. |
| 99 | fn insert(&self, key: Key, value: Value) -> Option<Value> { |
| 100 | Self::with_db(|db| db.insert(key, value)) |
| 101 | } |
| 102 | |
| 103 | /// Removes a record from the repository and returns it if it exists. |
| 104 | fn remove(&self, key: &Key) -> Option<Value> { |
no outgoing calls
no test coverage detected