pub trait JwtKeyring: Send + Sync {
// Required methods
fn keys<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
context: &'life1 JwtKeyringContext<'life2>,
) -> Pin<Box<dyn Future<Output = AuthResult<Vec<Jwk>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn create_key<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: CreateJwk,
context: &'life1 JwtKeyringContext<'life2>,
) -> Pin<Box<dyn Future<Output = AuthResult<Jwk>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Required Methods§
fn keys<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
context: &'life1 JwtKeyringContext<'life2>,
) -> Pin<Box<dyn Future<Output = AuthResult<Vec<Jwk>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_key<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: CreateJwk,
context: &'life1 JwtKeyringContext<'life2>,
) -> Pin<Box<dyn Future<Output = AuthResult<Jwk>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".