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