Skip to main content

ReleaseSource

Trait ReleaseSource 

Source
pub trait ReleaseSource {
    // Required methods
    fn latest_tag(&self) -> impl Future<Output = Result<String>> + Send;
    fn fetch(
        &self,
        tag: &str,
        asset: &str,
        limit: usize,
    ) -> impl Future<Output = Result<Vec<u8>>> + Send;
}

Required Methods§

Source

fn latest_tag(&self) -> impl Future<Output = Result<String>> + Send

Source

fn fetch( &self, tag: &str, asset: &str, limit: usize, ) -> impl Future<Output = Result<Vec<u8>>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§