Trait cfg_rs::FromStringValue
source · pub trait FromStringValue: Sized + Any {
// Required method
fn from_str_value(
context: &mut ConfigContext<'_>,
value: &str
) -> Result<Self, ConfigError>;
}Expand description
Get from string.
Required Methods§
sourcefn from_str_value(
context: &mut ConfigContext<'_>,
value: &str
) -> Result<Self, ConfigError>
fn from_str_value( context: &mut ConfigContext<'_>, value: &str ) -> Result<Self, ConfigError>
Convert from string value.