fedimint_server::consensus::db

Trait MigrationContextExt

source
pub trait MigrationContextExt {
    // Required methods
    fn get_module_history_stream<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = BoxStream<'_, ModuleHistoryItem>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_typed_module_history_stream<'life0, 'async_trait, M>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = BoxStream<'_, TypedModuleHistoryItem<M>>> + Send + 'async_trait>>
       where M: 'async_trait + ModuleCommon,
             Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn get_module_history_stream<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = BoxStream<'_, ModuleHistoryItem>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_typed_module_history_stream<'life0, 'async_trait, M>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = BoxStream<'_, TypedModuleHistoryItem<M>>> + Send + 'async_trait>>
where M: 'async_trait + ModuleCommon, Self: 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MigrationContextExt for MigrationContext<'_>

source§

fn get_module_history_stream<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = BoxStream<'_, ModuleHistoryItem>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn get_typed_module_history_stream<'life0, 'async_trait, M>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = BoxStream<'_, TypedModuleHistoryItem<M>>> + Send + 'async_trait>>
where M: 'async_trait + ModuleCommon, Self: 'async_trait, 'life0: 'async_trait,

Implementors§