Open the store in an existing database file without creating it. Repository callers pass [`crate::ensure_database`]'s result here.
(path: P)
| 284 | /// |
| 285 | /// Repository callers pass [`crate::ensure_database`]'s result here. |
| 286 | pub fn open_existing<P: AsRef<Path>>(path: P) -> RedbStoreResult<Self> { |
| 287 | Self::from_database(Arc::new(Builder::new().open(path)?)) |
| 288 | } |
| 289 | |
| 290 | /// Open the store in an existing database file, waiting at most |
| 291 | /// `timeout` for an incompatible process handle to close. Other errors |