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§
Sourcefn token_source(&self) -> Arc<dyn TokenSource>
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".