Skip to main content

Opener

Type Alias Opener 

Source
pub type Opener = Box<dyn Fn(&Path) -> Result<Database, HostError> + Send + Sync>;
Expand description

Opens one database at a path. Supplied by the caller so this module stays out of the business of configuration — crate::Settings builds one that applies the engine config, the maintenance policy and a shared embedder.

Aliased Type§

pub struct Opener(/* private fields */);