pub trait Credentials:
Send
+ Sync
+ Debug {
// Required method
fn token(&self) -> TokenFuture<'_>;
}Expand description
Credentials supply the access token each call is sent with.
Required Methods§
Sourcefn token(&self) -> TokenFuture<'_>
fn token(&self) -> TokenFuture<'_>
A valid access token.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".