Skip to main content

coerce_bool

Function coerce_bool 

Source
pub fn coerce_bool(s: &str) -> Result<bool, ModuleError>
Expand description

Coerce a string value to the target type.

Used by the macro-generated dispatch. For custom types, implement FromStr.