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

Required Methods

Trait Implementations

Formats the value using the given formatter. Read more

Implementors