pub trait UrlResolver<'a, T> { type Error; // Required method fn resolve(&self, url: &UrlRef<T>) -> Result<&'a T, Self::Error>; }
This trait abstracts over types that can be used to resolve URL references. It is implemented for LocalMap and LocalMaps, and user types can also implement this trait to provide external URL resolution.
LocalMap
LocalMaps
The error type of the resolver.
Resolve an individual URL.