Trait ConfigValues

Source
pub trait ConfigValues {
    // Required method
    fn get_config_value(config: &GitConfig, key: &str) -> Result<Self, Error>
       where Self: Sized;
}

Required Methods§

Source

fn get_config_value(config: &GitConfig, key: &str) -> Result<Self, Error>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl ConfigValues for bool

Source§

fn get_config_value(config: &GitConfig, key: &str) -> Result<Self, Error>

Source§

impl ConfigValues for u64

Source§

fn get_config_value(config: &GitConfig, key: &str) -> Result<Self, Error>

Source§

impl ConfigValues for String

Source§

fn get_config_value(config: &GitConfig, key: &str) -> Result<Self, Error>

Source§

impl ConfigValues for Vec<String>

Source§

fn get_config_value(config: &GitConfig, key: &str) -> Result<Self, Error>

Implementors§