use crate::transport::types::CacheChange;
use alloc::boxed::Box;
use core::pin::Pin;
pub trait HistoryCache {
fn add_change(
&mut self,
cache_change: CacheChange,
) -> Pin<Box<dyn Future<Output = ()> + Send + '_>>;
fn remove_change(&mut self, sequence_number: i64) -> Pin<Box<dyn Future<Output = ()> + Send>>;
}