Function process_source

Source
pub fn process_source<S, F, R>(source: S, f: F) -> Result<R>
where S: LoadSource, F: FnOnce(&Source<'_>) -> Result<R>,
Expand description

Process any Source with a callback, annotating the error with the source’s origin name.