pub struct GitHubReleasesSource { /* private fields */ }Expand description
A version source backed by GitHub Releases.
Implementations§
Trait Implementations§
Source§impl VersionSource for GitHubReleasesSource
impl VersionSource for GitHubReleasesSource
Source§fn fetch_latest<'life0, 'async_trait>(
&'life0 self,
options: FetchOptions,
) -> Pin<Box<dyn Future<Output = VersionSourceResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_latest<'life0, 'async_trait>(
&'life0 self,
options: FetchOptions,
) -> Pin<Box<dyn Future<Output = VersionSourceResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch the latest version from this source.
Source§fn fetch_versions<'life0, 'async_trait>(
&'life0 self,
options: FetchVersionsOptions,
) -> Pin<Box<dyn Future<Output = Result<VersionListResult, UpdateKitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_versions<'life0, 'async_trait>(
&'life0 self,
options: FetchVersionsOptions,
) -> Pin<Box<dyn Future<Output = Result<VersionListResult, UpdateKitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch a paginated list of versions. Not all sources support this.
Auto Trait Implementations§
impl Freeze for GitHubReleasesSource
impl RefUnwindSafe for GitHubReleasesSource
impl Send for GitHubReleasesSource
impl Sync for GitHubReleasesSource
impl Unpin for GitHubReleasesSource
impl UnsafeUnpin for GitHubReleasesSource
impl UnwindSafe for GitHubReleasesSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more