Trait cyfs_base::ObjectMapRootEvent
source · [−]pub trait ObjectMapRootEvent: Sync + Send + 'static {
fn root_updated<'life0, 'life1, 'async_trait>(
&'life0 self,
dec_id: &'life1 Option<ObjectId>,
new_root_id: ObjectId,
prev_id: ObjectId
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}