Trait serai_coordinator::tributary::scanner::RIDTrait

source ·
pub trait RIDTrait {
    // Required method
    fn recognized_id<'life0, 'async_trait>(
        &'life0 self,
        set: ExternalValidatorSet,
        genesis: [u8; 32],
        kind: RecognizedIdType,
        id: Vec<u8>,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn recognized_id<'life0, 'async_trait>( &'life0 self, set: ExternalValidatorSet, genesis: [u8; 32], kind: RecognizedIdType, id: Vec<u8>, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<FRid: Send + Future<Output = ()>, F: Sync + Fn(ExternalValidatorSet, [u8; 32], RecognizedIdType, Vec<u8>) -> FRid> RIDTrait for F