Skip to main content

Credentials

Trait Credentials 

Source
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§

Source

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".

Implementors§