pub struct NodeVersionFetcher { /* private fields */ }
Expand description
Version fetcher for Node.js releases
Implementations§
Trait Implementations§
Source§impl Clone for NodeVersionFetcher
impl Clone for NodeVersionFetcher
Source§fn clone(&self) -> NodeVersionFetcher
fn clone(&self) -> NodeVersionFetcher
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 NodeVersionFetcher
impl Debug for NodeVersionFetcher
Source§impl Default for NodeVersionFetcher
impl Default for NodeVersionFetcher
Source§impl VersionFetcher for NodeVersionFetcher
impl VersionFetcher for NodeVersionFetcher
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 NodeVersionFetcher
impl RefUnwindSafe for NodeVersionFetcher
impl Send for NodeVersionFetcher
impl Sync for NodeVersionFetcher
impl Unpin for NodeVersionFetcher
impl UnwindSafe for NodeVersionFetcher
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