Skip to main content

IdentityResolver

Trait IdentityResolver 

Source
pub trait IdentityResolver: Debug {
    // Required method
    fn resolve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        identity: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<IdentityBox, IdentityResolverError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;

    // Provided method
    fn boxed(self) -> IdentityResolverBox
       where Self: Sized + Clone + Send + Sync + 'static { ... }
}

Required Methods§

Source

fn resolve<'life0, 'life1, 'async_trait>( &'life0 self, identity: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<IdentityBox, IdentityResolverError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Provided Methods§

Source

fn boxed(self) -> IdentityResolverBox
where Self: Sized + Clone + Send + Sync + 'static,

Implementors§