pub trait ResolveUrl {
// Required method
fn resolve_url(&self, path: &str) -> Result<Url, ParseError>;
}Expand description
Describe an URL resolver
See module level documentation for more information.
Required Methods§
Sourcefn resolve_url(&self, path: &str) -> Result<Url, ParseError>
fn resolve_url(&self, path: &str) -> Result<Url, ParseError>
Resolve an URL from a path
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".