Skip to main content

HasTokenManager

Trait HasTokenManager 

Source
pub trait HasTokenManager {
    // Required method
    fn token_manager(&self) -> Arc<TokenManager>;
}
Expand description

Trait for Engine instances that have a token manager configured.

Required Methods§

Source

fn token_manager(&self) -> Arc<TokenManager>

Returns the token manager.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<S> HasTokenManager for Engine<S, Configured<Arc<TokenManager>>>

Available on crate feature token only.