pub trait BundleFetcher {
// Required methods
fn head(&self) -> impl Future<Output = BundleResult<RemoteRef>> + Send;
fn fetch(
&self,
into: &Path,
) -> impl Future<Output = BundleResult<FetchedBundle>> + Send;
}Required Methods§
fn head(&self) -> impl Future<Output = BundleResult<RemoteRef>> + Send
fn fetch( &self, into: &Path, ) -> impl Future<Output = BundleResult<FetchedBundle>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".