pub trait Backend {
// Required methods
fn name(&self) -> &str;
fn fetch(&self, url: &str, dest: &Path) -> VtaResult<()>;
}Expand description
A fetch backend (curated, github-releases, direct-url, …).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".