pub trait OtaDownloaderProxyInterface: Send + Sync {
type FetchBlobResponseFut: Future<Output = Result<OtaDownloaderFetchBlobResult, Error>> + Send;
// Required method
fn fetch_blob(
&self,
hash: &BlobId,
base_url: &str,
overwrite_existing: bool,
) -> Self::FetchBlobResponseFut;
}Required Associated Types§
type FetchBlobResponseFut: Future<Output = Result<OtaDownloaderFetchBlobResult, Error>> + Send
Required Methods§
fn fetch_blob( &self, hash: &BlobId, base_url: &str, overwrite_existing: bool, ) -> Self::FetchBlobResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".