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§
Sourcefn resolve_source_async<'a>(
&'a self,
path: &ModulePath,
) -> impl Future<Output = Result<Cow<'a, str>, ResolveError>>
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".