pub trait AggregatesStorage<Types>{
// Required methods
fn aggregates_height(
&mut self,
) -> impl Future<Output = Result<usize>> + Send;
fn load_prev_aggregate(
&mut self,
) -> impl Future<Output = Result<Option<Aggregate<Types>>>> + Send;
}
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.