pub trait Resolve: Send + Sync {
    // Required method
    fn resolve(
        &self,
        base: &FileName,
        module_specifier: &str
    ) -> Result<Resolution, Error>;
}

Required Methods§

source

fn resolve( &self, base: &FileName, module_specifier: &str ) -> Result<Resolution, Error>

Implementations on Foreign Types§

source§

impl<R> Resolve for &R
where R: ?Sized + Resolve,

source§

fn resolve(&self, base: &FileName, src: &str) -> Result<Resolution, Error>

source§

impl<R> Resolve for Box<R>
where R: ?Sized + Resolve,

source§

fn resolve(&self, base: &FileName, src: &str) -> Result<Resolution, Error>

source§

impl<R> Resolve for Arc<R>
where R: ?Sized + Resolve,

source§

fn resolve(&self, base: &FileName, src: &str) -> Result<Resolution, Error>

Implementors§

source§

impl Resolve for NodeModulesResolver

Available on crate feature node only.
source§

impl<R> Resolve for CachingResolver<R>
where R: Resolve,

Available on crate feature lru only.
source§

impl<R> Resolve for TsConfigResolver<R>
where R: Resolve,

Available on crate feature tsc only.