Skip to main content

ImmutableFileObserver

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<ImmutableFileNumber>> + 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<ImmutableFileNumber>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§