Trait GeDownload

Source
pub trait GeDownload {
    // Required methods
    fn fetch_release(
        &self,
        tag: Option<String>,
        kind: TagKind,
    ) -> Result<GeRelease, GithubError>;
    fn download_release_assets(
        &self,
        request: DownloadRequest,
    ) -> Result<DownloadedAssets, GithubError>;
}
Expand description

Trait defining methods for fetching release data.

This trait mostly exists for testing purposes so consuming crates can crate a mock from this trait.

Required Methods§

Implementors§