pub trait PackageResolver {
// Required method
fn fetch(&self, uri: &str) -> Result<(Vec<u8>, DocumentFormat), ParseError>;
}Expand description
Supplies the bytes for an import uri. Implement over any store (fs, http,
embedded); DirResolver covers the standard directory layout.