pub trait ConfigReader {
// Required methods
fn config_get(&self, key: &str) -> AppResult<String>;
fn config_get_all(&self, key: &str) -> AppResult<Vec<String>>;
fn config_set(&self, key: &str, value: &str) -> AppResult<()>;
}Expand description
Read and update git configuration.
Required Methods§
Sourcefn config_get(&self, key: &str) -> AppResult<String>
fn config_get(&self, key: &str) -> AppResult<String>
Returns the highest-precedence value for a config key.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".