#[derive(Debug, Clone)] pub enum BackendType { Redb, Sled, } #[derive(Debug, Clone)] pub struct DBOption { pub dir: String, pub port: u16, pub debug: bool, pub encrypt: bool, pub encryption_key: Option, pub backend: BackendType, }