Skip to main content

from_env

Function from_env 

Source
pub fn from_env<F>(env: F) -> Result<Option<BackupConfig>, String>
where F: Fn(&str) -> Option<String>,
Expand description

Parse the REDDB_BACKUP_* env contract using the supplied env-var lookup. See module docs for the contract.