pub trait Provider {
// Required methods
fn get_mirror_repos(&self) -> Result<Vec<MirrorResult>, String>;
fn get_label(&self) -> String;
}Required Methods§
fn get_mirror_repos(&self) -> Result<Vec<MirrorResult>, String>
fn get_label(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".