Skip to main content

UpdateTokenTrait

Trait UpdateTokenTrait 

Source
pub trait UpdateTokenTrait: Send + Sync {
    // Provided method
    fn token_update(&self, _token: Token) -> bool { ... }
}

Provided Methods§

Source

fn token_update(&self, _token: Token) -> bool

Provides a post-callback // token update mechansim that can be controlled by the caller Necessary for Token refresh implementation

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§