pub trait TokenClient {
// Required methods
fn get_tokens<'life0, 'life1, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<Token>, Error<TokenError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn create_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
value: &'life2 CreateTokenDto,
) -> Pin<Box<dyn Future<Output = Result<UnsafeToken, Error<TokenError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
token_id: &'life2 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Token, Error<TokenError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn delete_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
token_id: &'life2 Uuid,
) -> Pin<Box<dyn Future<Output = Result<DeleteTokenResponse, Error<TokenError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}