| 184 | pub type FlagConfigOption<'a> = ConfigOption<'a, config_type::Flag>; |
| 185 | |
| 186 | pub trait OptionType<'a> { |
| 187 | type OutputValue; |
| 188 | type DefaultValue; |
| 189 | |
| 190 | fn convert_default(value: &Self::DefaultValue) -> Option<Value>; |
| 191 | |
| 192 | fn from_value(value: &Option<Value>) -> Self::OutputValue; |
| 193 | |
| 194 | fn get_value_type() -> ValueType; |
| 195 | } |
| 196 | |
| 197 | impl<'a> OptionType<'a> for config_type::DefaultString { |
| 198 | type OutputValue = String; |
nothing calls this directly
no outgoing calls
no test coverage detected