Skip to main content

open_reader

Function open_reader 

Source
pub fn open_reader(dir: &Path) -> Result<Option<Arc<RedbStore>>, PlaneError>
Expand description

Opens the journal to read beside its writer, in this process or another: None when there is none (a read never creates one). Never registered, moved aside or written — any write through it is refused.

§Errors

It cannot be read: a writer that holds it alone (an earlier speccoder build), damage, another format.