miniscript::expression
pub fn terminal<T, F, Err>(term: &Tree<'_>, convert: F) -> Result<T, Error> where F: FnOnce(&str) -> Result<T, Err>, Err: ToString,
Attempts to parse a terminal expression