Skip to main content

direct_backend_read_only_for

Function direct_backend_read_only_for 

Source
pub fn direct_backend_read_only_for(
    db_path: &Path,
) -> RuntimeResult<Arc<StorageBackend>>
Expand description

The process-wide direct backend for db_path, opened READ-ONLY on first use. The file must already exist — this constructor never creates or schema-initializes an events database, which is what a read-only runtime’s no-DB-creation contract requires of its event lane.