Trait OtaDownloaderProxyInterface

Source
pub trait OtaDownloaderProxyInterface: Send + Sync {
    type FetchBlobResponseFut: Future<Output = Result<OtaDownloaderFetchBlobResult, Error>> + Send;

    // Required method
    fn fetch_blob(
        &self,
        hash: &BlobId,
        base_url: &str,
    ) -> Self::FetchBlobResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn fetch_blob( &self, hash: &BlobId, base_url: &str, ) -> Self::FetchBlobResponseFut

Implementors§