Trait google_cloud_auth::token_source::TokenSource

source ·
pub trait TokenSource: Send + Sync + Debug {
    // Required method
    fn token<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn token<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<Token, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§