pub trait PublishSeraiTransaction {
    // Required method
    fn publish_set_keys<'life0, 'life1, 'async_trait>(
        &'life0 self,
        db: &'life1 (impl 'async_trait + Sync + Get),
        set: ExternalValidatorSet,
        removed: Vec<SeraiAddress>,
        key_pair: KeyPair,
        signature: Signature,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn publish_set_keys<'life0, 'life1, 'async_trait>( &'life0 self, db: &'life1 (impl 'async_trait + Sync + Get), set: ExternalValidatorSet, removed: Vec<SeraiAddress>, key_pair: KeyPair, signature: Signature, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PublishSeraiTransaction for Serai

source§

fn publish_set_keys<'life0, 'life1, 'async_trait>( &'life0 self, db: &'life1 (impl 'async_trait + Sync + Get), set: ExternalValidatorSet, removed: Vec<SeraiAddress>, key_pair: KeyPair, signature: Signature, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§