Trait MetadataSource

Source
pub trait MetadataSource: Debug {
    // Required method
    fn load_metadata<'life0, 'life1, 'async_trait>(
        &'life0 self,
        fetcher: &'life1 Fetcher,
    ) -> Pin<Box<dyn Future<Output = Result<ProviderMetadata, Error>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn load_metadata<'life0, 'life1, 'async_trait>( &'life0 self, fetcher: &'life1 Fetcher, ) -> Pin<Box<dyn Future<Output = Result<ProviderMetadata, Error>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

Source§

impl MetadataSource for &str

Source§

fn load_metadata<'life0, 'life1, 'async_trait>( &'life0 self, fetcher: &'life1 Fetcher, ) -> Pin<Box<dyn Future<Output = Result<ProviderMetadata, Error>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

impl MetadataSource for String

Source§

fn load_metadata<'life0, 'life1, 'async_trait>( &'life0 self, fetcher: &'life1 Fetcher, ) -> Pin<Box<dyn Future<Output = Result<ProviderMetadata, Error>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

impl MetadataSource for Url

Source§

fn load_metadata<'life0, 'life1, 'async_trait>( &'life0 self, fetcher: &'life1 Fetcher, ) -> Pin<Box<dyn Future<Output = Result<ProviderMetadata, Error>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§