pub struct EnvTokenProvider { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for EnvTokenProvider
impl Clone for EnvTokenProvider
Source§fn clone(&self) -> EnvTokenProvider
fn clone(&self) -> EnvTokenProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnvTokenProvider
impl Debug for EnvTokenProvider
Source§impl TokenProvider for EnvTokenProvider
impl TokenProvider for EnvTokenProvider
fn access_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn kind(&self) -> ProviderKind
fn refresh_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for EnvTokenProvider
impl RefUnwindSafe for EnvTokenProvider
impl Send for EnvTokenProvider
impl Sync for EnvTokenProvider
impl Unpin for EnvTokenProvider
impl UnwindSafe for EnvTokenProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more