Trait GetCrateRepositoryLocationOrFallback

Source
pub trait GetCrateRepositoryLocationOrFallback {
    type Error;

    // Required method
    fn get_crate_repository_location_or_fallback<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, Self::Error>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn get_crate_repository_location_or_fallback<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, Self::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementations on Foreign Types§

Source§

impl GetCrateRepositoryLocationOrFallback for MockCargoToml

Source§

type Error = CargoTomlError

Source§

fn get_crate_repository_location_or_fallback<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, <MockCargoToml as GetCrateRepositoryLocationOrFallback>::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, MockCargoToml: 'async_trait,

Implementors§