Skip to main content

TokenManagerState

Trait TokenManagerState 

Source
pub trait TokenManagerState:
    Send
    + Sync
    + Clone {
    // Required method
    fn get_manager(&self) -> Arc<TokenManager>;
}
Expand description

Trait for the token manager state in the Engine.

Required Methods§

Source

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

Returns the token manager if configured.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl TokenManagerState for Configured<Arc<TokenManager>>

Available on crate feature token only.