pub trait Provider: Display {
// Required methods
fn correctly_configured(&self) -> bool;
fn fetch_repositories(&self) -> Result<Vec<Repository>>;
}
Required Methods§
Sourcefn correctly_configured(&self) -> bool
fn correctly_configured(&self) -> bool
Returns true if the provider should work, otherwise prints an error and return false