pub trait JsonWebKeySetProvider:
Clone
+ Send
+ Sync
+ 'static {
type Error: Error + 'static;
// Required method
fn fetch(
&self,
) -> impl Future<Output = Result<JsonWebKeySet, Self::Error>> + Send + Sync;
}Expand description
Trait to wrap fetching a JSON web key set.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.