pub struct GitHubVersionFetcher { /* private fields */ }
Expand description
Version fetcher for GitHub releases
Implementations§
Trait Implementations§
Source§impl Clone for GitHubVersionFetcher
impl Clone for GitHubVersionFetcher
Source§fn clone(&self) -> GitHubVersionFetcher
fn clone(&self) -> GitHubVersionFetcher
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GitHubVersionFetcher
impl Debug for GitHubVersionFetcher
Source§impl VersionFetcher for GitHubVersionFetcher
impl VersionFetcher for GitHubVersionFetcher
Source§fn fetch_versions<'life0, 'async_trait>(
&'life0 self,
include_prerelease: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<VersionInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_versions<'life0, 'async_trait>(
&'life0 self,
include_prerelease: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<VersionInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch available versions for the tool
Source§fn get_latest_version<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<VersionInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_latest_version<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<VersionInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get the latest stable version
Source§fn get_latest_version_including_prerelease<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<VersionInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_latest_version_including_prerelease<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<VersionInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get the latest version (including prereleases)
Auto Trait Implementations§
impl Freeze for GitHubVersionFetcher
impl RefUnwindSafe for GitHubVersionFetcher
impl Send for GitHubVersionFetcher
impl Sync for GitHubVersionFetcher
impl Unpin for GitHubVersionFetcher
impl UnwindSafe for GitHubVersionFetcher
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