pub trait Fetcher {
type Key: Span;
type Value;
// Required method
fn fetch(
&self,
key: Self::Key,
) -> impl Future<Output = Option<Self::Value>> + Send;
}Expand description
Fetches raw values for resolver keys.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".