[][src]Trait registry_api::CrateFetcher

pub trait CrateFetcher: Send + Sync {
#[must_use]    fn fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        registry_crate: &'life1 RegistryCrate
    ) -> Pin<Box<dyn Future<Output = Result<Bytes>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn fetch<'life0, 'life1, 'async_trait>(
    &'life0 self,
    registry_crate: &'life1 RegistryCrate
) -> Pin<Box<dyn Future<Output = Result<Bytes>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl<T: Into<Bytes> + Clone + Send + Sync> CrateFetcher for T[src]

Loading content...