Skip to main content

TokenSourceProvider

Trait TokenSourceProvider 

Source
pub trait TokenSourceProvider:
    Send
    + Sync
    + Debug {
    // Required method
    fn token_source(&self) -> Arc<dyn TokenSource>;
}
Expand description

A TokenSourceProvider provides a TokenSource implementation.

Required Methods§

Source

fn token_source(&self) -> Arc<dyn TokenSource>

Returns the token source implementation

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§