Trait proto_core::Detector

source ·
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>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}

Provided Methods§

source

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>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Attempt to detect an applicable version from the provided working directory.

Implementors§