Function sapio_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

Attempts to parse a terminal expression