Skip to main content

HostedAccountHttpDirectory

Trait HostedAccountHttpDirectory 

Source
pub trait HostedAccountHttpDirectory: Send + Sync {
    // Required method
    fn lookup<'life0, 'life1, 'async_trait>(
        &'life0 self,
        label: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Option<Arc<HostedAccountHttpArtifacts>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Read-only account artifact index used by the credential-free router.

Required Methods§

Source

fn lookup<'life0, 'life1, 'async_trait>( &'life0 self, label: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Option<Arc<HostedAccountHttpArtifacts>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Return the immutable artifact bundle for one canonical host label.

Implementors§