pub fn db(&self) -> &Path {
&self.db
}
pub fn to_json(&self) -> String {
serde_json::to_string_pretty(self).expect("serialize config to JSON")
impl fmt::Debug for Adapter {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(