pub trait ObjectMapRootEvent: Sync + Send + 'static {
    // Required method
    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 Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

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 Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§