pub trait Detector<'tool>: Send + Sync {
// Provided method
fn detect_version_from<'life0, 'life1, 'async_trait>(
&'life0 self,
_working_dir: &'life1 Path
) -> Pin<Box<dyn Future<Output = Result<Option<String>, ProtoError>> + Send + 'async_trait, Global>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait { ... }
}
Provided Methods§
sourcefn detect_version_from<'life0, 'life1, 'async_trait>(
&'life0 self,
_working_dir: &'life1 Path
) -> Pin<Box<dyn Future<Output = Result<Option<String>, ProtoError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn detect_version_from<'life0, 'life1, 'async_trait>( &'life0 self, _working_dir: &'life1 Path ) -> Pin<Box<dyn Future<Output = Result<Option<String>, ProtoError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,
Attempt to detect an applicable version from the provided working directory.