(&self)
| 106 | |
| 107 | impl PristineDatabase { |
| 108 | fn begin_read(&self) -> Result<redb::ReadTransaction, redb::TransactionError> { |
| 109 | match self { |
| 110 | Self::Writable(db) => db.begin_read(), |
| 111 | Self::ReadOnly(db) => db.begin_read(), |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | impl Pristine { |
no outgoing calls
no test coverage detected