pub trait VersionProvider: Send + Sync {
// Required method
fn latest_version<'life0, 'life1, 'async_trait>(
&'life0 self,
tool: &'life1 str,
) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Provider for tool version information
Required Methods§
Sourcefn latest_version<'life0, 'life1, 'async_trait>(
&'life0 self,
tool: &'life1 str,
) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn latest_version<'life0, 'life1, 'async_trait>(
&'life0 self,
tool: &'life1 str,
) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get the latest version of a tool
Returns the full version string (e.g., “3.12.4” for python)