Skip to main content

xrust/
externals.rs

1/*! Defines interfaces for closures and functions that are used to communicate with external processes.
2*/
3
4use crate::xdmerror::Error;
5
6/// Resolves a URL, given as a base URI and a relative URL, and returns the content of the resource as a string.
7pub(crate) type URLResolver = fn(Option<String>, String) -> Result<String, Error>;