Skip to main content

BundleFetcher

Trait BundleFetcher 

Source
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§

Source

fn head(&self) -> impl Future<Output = BundleResult<RemoteRef>> + Send

Source

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".

Implementors§