Trait LocalStore

Source
pub trait LocalStore {
    // Required methods
    fn delete_proofs<'life0, 'life1, 'async_trait>(
        &'life0 self,
        proofs: &'life1 Proofs,
    ) -> Pin<Box<dyn Future<Output = Result<(), MokshaWalletError>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn add_proofs<'life0, 'life1, 'async_trait>(
        &'life0 self,
        proofs: &'life1 Proofs,
    ) -> Pin<Box<dyn Future<Output = Result<(), MokshaWalletError>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn get_proofs<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Proofs, MokshaWalletError>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_keysets<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<WalletKeyset>, MokshaWalletError>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn add_keyset<'life0, 'life1, 'async_trait>(
        &'life0 self,
        keyset: &'life1 WalletKeyset,
    ) -> Pin<Box<dyn Future<Output = Result<(), MokshaWalletError>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn delete_proofs<'life0, 'life1, 'async_trait>( &'life0 self, proofs: &'life1 Proofs, ) -> Pin<Box<dyn Future<Output = Result<(), MokshaWalletError>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn add_proofs<'life0, 'life1, 'async_trait>( &'life0 self, proofs: &'life1 Proofs, ) -> Pin<Box<dyn Future<Output = Result<(), MokshaWalletError>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn get_proofs<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Proofs, MokshaWalletError>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_keysets<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<WalletKeyset>, MokshaWalletError>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn add_keyset<'life0, 'life1, 'async_trait>( &'life0 self, keyset: &'life1 WalletKeyset, ) -> Pin<Box<dyn Future<Output = Result<(), MokshaWalletError>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§