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