Returns the number of records stored in the repository.
(&self)
| 107 | |
| 108 | /// Returns the number of records stored in the repository. |
| 109 | fn len(&self) -> usize { |
| 110 | Self::with_db(|db| db.len() as usize) |
| 111 | } |
| 112 | |
| 113 | /// Returns whether the repository is empty or not. |
| 114 | fn is_empty(&self) -> bool { |
no outgoing calls
no test coverage detected