openzeppelin_relayer::services

Trait VaultServiceTrait

Source
pub trait VaultServiceTrait: Send + Sync {
    // Required methods
    fn retrieve_secret<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key_name: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<String, VaultError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn sign<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        key_name: &'life1 str,
        message: &'life2 [u8],
    ) -> Pin<Box<dyn Future<Output = Result<String, VaultError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn retrieve_secret<'life0, 'life1, 'async_trait>( &'life0 self, key_name: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, VaultError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn sign<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, key_name: &'life1 str, message: &'life2 [u8], ) -> Pin<Box<dyn Future<Output = Result<String, VaultError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§