Struct cyfs_base::ObjectMapPathVisitor
source · [−]pub struct ObjectMapPathVisitor { /* private fields */ }
Implementations
sourceimpl ObjectMapPathVisitor
impl ObjectMapPathVisitor
pub fn new(provider: Box<dyn ObjectMapVisitorProvider>) -> Self
pub fn into_provider(self) -> Box<dyn ObjectMapVisitorProvider>
pub async fn visit(&mut self, target: &ObjectId) -> BuckyResult<()>
Trait Implementations
sourceimpl ObjectMapVisitLoader for ObjectMapPathVisitor
impl ObjectMapVisitLoader for ObjectMapPathVisitor
fn into_any(self: Box<Self>) -> Box<dyn Any>
fn get_object_map<'life0, 'life1, 'async_trait>(
&'life0 mut self,
id: &'life1 ObjectId
) -> Pin<Box<dyn Future<Output = BuckyResult<Option<ObjectMapRef>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
sourceimpl ObjectMapVisitor for ObjectMapPathVisitor
impl ObjectMapVisitor for ObjectMapPathVisitor
fn visit_hub_item<'life0, 'life1, 'async_trait>(
&'life0 mut self,
item: &'life1 ObjectId
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl ObjectMapVisitorProvider for ObjectMapPathVisitor
Auto Trait Implementations
impl !RefUnwindSafe for ObjectMapPathVisitor
impl Send for ObjectMapPathVisitor
impl Sync for ObjectMapPathVisitor
impl Unpin for ObjectMapPathVisitor
impl !UnwindSafe for ObjectMapPathVisitor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more