Skip to main content

UriResolver

Trait UriResolver 

Source
pub trait UriResolver: Send + Sync {
    // Required methods
    fn resolve_bundle(&self, uri: &Uri) -> Option<String>;
    fn resolve_path(&self, uri: &Uri) -> String;
}

Required Methods§

Source

fn resolve_bundle(&self, uri: &Uri) -> Option<String>

Source

fn resolve_path(&self, uri: &Uri) -> String

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§