pub trait BlockDiffFollow: Send + Sync {
// Required method
fn follow<'life0, 'life1, 'async_trait>(
&'life0 mut self,
cid: &'life1 Cid,
) -> Pin<Box<dyn Future<Output = Result<bool, StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
// Provided method
fn follow_previous<'life0, 'life1, 'async_trait>(
&'life0 mut self,
cid: &'life1 Cid,
) -> Pin<Box<dyn Future<Output = Result<bool, StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}Required Methods§
Provided Methods§
Sourcefn follow_previous<'life0, 'life1, 'async_trait>(
&'life0 mut self,
cid: &'life1 Cid,
) -> Pin<Box<dyn Future<Output = Result<bool, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn follow_previous<'life0, 'life1, 'async_trait>(
&'life0 mut self,
cid: &'life1 Cid,
) -> Pin<Box<dyn Future<Output = Result<bool, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Test if a previous Cid should be followed.