Trait Provider

Source
pub trait Provider: Display {
    // Required methods
    fn correctly_configured(&self) -> bool;
    fn fetch_repositories(&self) -> Result<Vec<Repository>>;
}

Required Methods§

Source

fn correctly_configured(&self) -> bool

Returns true if the provider should work, otherwise prints an error and return false

Source

fn fetch_repositories(&self) -> Result<Vec<Repository>>

Implementors§