Test-only raw table access (corruption seeding for repair tests).
(
&'t mut self,
definition: redb::TableDefinition<'static, K, V>,
)
| 1119 | impl<'a> WriteTxn<'a> { |
| 1120 | /// Test-only raw table access (corruption seeding for repair tests). |
| 1121 | pub(crate) fn open_table_for_test<'t, K: redb::Key + 'static, V: redb::Value + 'static>( |
| 1122 | &'t mut self, |
| 1123 | definition: redb::TableDefinition<'static, K, V>, |
| 1124 | ) -> Result<redb::Table<'t, K, V>, redb::TableError> { |
| 1125 | self.txn.open_table(definition) |
| 1126 | } |
| 1127 | } |
| 1128 | |
| 1129 | // Entity registration helper |
no outgoing calls