Skip to main content

AsyncResolver

Trait AsyncResolver 

Source
pub trait AsyncResolver: Resolver {
    // Provided method
    fn resolve_source_async<'a>(
        &'a self,
        path: &ModulePath,
    ) -> impl Future<Output = Result<Cow<'a, str>, ResolveError>> { ... }
}

Provided Methods§

Source

fn resolve_source_async<'a>( &'a self, path: &ModulePath, ) -> impl Future<Output = Result<Cow<'a, str>, ResolveError>>

Async version of Resolver::resolve_source.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§