Function tendermint_testgen::helpers::parse_as[][src]

pub fn parse_as<T: DeserializeOwned>(input: &str) -> Result<T, SimpleError>
Expand description

Tries to parse a string as the given type; otherwise returns the input wrapped in SimpleError