pub trait KeyRingLoader {
    // Required method
    fn load<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<KeyRing>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Keyrings could be loaded from in any number of sources. This trait allows implementors to create custom loader helpers for keyrings

Required Methods§

source

fn load<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<KeyRing>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Load the keyring from source, returning the KeyRing

Implementors§