Skip to main content

open_with_oracle

Function open_with_oracle 

Source
pub fn open_with_oracle<O>(
    path: &str,
    oracle: Arc<O>,
) -> Result<OracleEngine<O>, SqliteStoreError>
where O: OraclePort + Send + Sync + 'static,
Expand description

Open a file-backed SQLite engine wired with a real oracle.

The pending-adjudication store is constructed from the same SQLite connection, enabling full oracle resolution. open_default / DefaultEngine remain unchanged.

§Errors

Returns SqliteStoreError if the connection cannot be opened or migrations fail.