pub trait ObjectMapVisitor: Send + Sync {
// Required methods
fn visit_hub_item<'life0, 'life1, 'async_trait>(
&'life0 mut self,
item: &'life1 ObjectId
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn visit_map_item<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
key: &'life1 str,
item: &'life2 ObjectId
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn visit_set_item<'life0, 'life1, 'async_trait>(
&'life0 mut self,
item: &'life1 ObjectId
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn visit_diff_map_item<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
key: &'life1 str,
item: &'life2 ObjectMapDiffMapItem
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn visit_diff_set_item<'life0, 'life1, 'async_trait>(
&'life0 mut self,
item: &'life1 ObjectMapDiffSetItem
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}