Trait GetVersionOfLocalDep

Source
pub trait GetVersionOfLocalDep: Send + Sync {
    // Required method
    fn version_of_local_dep<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        dep_name: &'life1 str,
        dep_path: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait;
}

Required Methods§

Source

fn version_of_local_dep<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, dep_name: &'life1 str, dep_path: &'life2 str, ) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Implementors§

Source§

impl<T> GetVersionOfLocalDep for T
where T: Send + Sync + AsRef<Path>,