Skip to main content

StoreSource

Type Alias StoreSource 

Source
pub type StoreSource = dyn FnMut(usize) -> Option<Box<dyn Blocks>>;
Expand description

Where a database gets its store from, asked by database number.

None means that database cannot have one. The caller owns whatever the stores are cut out of, which for yodb is one .yo file with a log per database, and this crate never learns what any of that is.