solana_clap_utils::input_validators

Function is_parsable

Source
pub fn is_parsable<T>(string: String) -> Result<(), String>
where T: FromStr, T::Err: Display,