mithril_common::digesters

Trait ImmutableFileObserver

source
pub trait ImmutableFileObserver
where Self: Sync + Send,
{ // Required method fn get_last_immutable_number<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = StdResult<u64>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
Expand description

Retrieve data on ImmutableFile from a cardano database.

Required Methods§

source

fn get_last_immutable_number<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = StdResult<u64>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get the ImmutableFileNumber of the last immutable file in the cardano database.

Implementors§