pub fn open_control(
path: impl AsRef<Path>,
) -> Result<(SharedControlStore, RedbSecretStore)>Expand description
The whole control plane at path: the documents and the secrets, over one
database handle.
The pair, not two calls, because the two halves must share the redb
handle: opening the file twice is an exclusive-lock failure, and this is the
only place that fact has to be known. ServerStores::open is the caller.