pub trait ServerModuleDbMigrationFnContextExt<M>where
M: ServerModule,{
// Required method
fn get_typed_module_history_stream<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = BoxStream<'_, ModuleHistoryItem<<M as ServerModule>::Common>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
An extension trait to access module-specific-typed apis of
IServerDbMigrationContext
injected by the fedimint-server
.
Needs to be an extension trait, as fedimint-server-core
can’t
implement things on general-purpose DbMigrationFnContext