pub trait PopotamoClient: Send + Sync {
    // Required method
    fn get_profile<'life0, 'async_trait>(
        &'life0 self,
        id: PopotamoUserIdRef
    ) -> Pin<Box<dyn Future<Output = Result<PopotamoProfileResponse, AnyError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn get_profile<'life0, 'async_trait>( &'life0 self, id: PopotamoUserIdRef ) -> Pin<Box<dyn Future<Output = Result<PopotamoProfileResponse, AnyError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

source§

impl<T: PopotamoClient + ?Sized> PopotamoClient for Arc<T>where Arc<T>: Send + Sync,

source§

fn get_profile<'life0, 'async_trait>( &'life0 self, id: PopotamoUserIdRef ) -> Pin<Box<dyn Future<Output = Result<PopotamoProfileResponse, AnyError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source§

impl<'a, T: 'a + PopotamoClient + ?Sized> PopotamoClient for &'a Twhere &'a T: Send + Sync,

source§

fn get_profile<'life0, 'async_trait>( &'life0 self, id: PopotamoUserIdRef ) -> Pin<Box<dyn Future<Output = Result<PopotamoProfileResponse, AnyError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§