pub trait ObjectMapVisitLoader: Send + Sync {
    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
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; }

Required Methods§

source

fn into_any(self: Box<Self>) -> Box<dyn Any>

source

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

Implementors§