pub trait AsyncTokenProvider: Send + Sync {
// Required method
fn resolve(
&self,
) -> Pin<Box<dyn Future<Output = Option<String>> + Send + '_>>;
}Expand description
Async token resolver.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".