Trait ObjectTraverserLoader
Source pub trait ObjectTraverserLoader: Send + Sync {
// Required methods
fn get_object<'life0, 'life1, 'async_trait>(
&'life0 self,
object_id: &'life1 ObjectId,
) -> Pin<Box<dyn Future<Output = BuckyResult<Option<ObjectTraverserLoaderObjectData>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_chunk<'life0, 'life1, 'async_trait>(
&'life0 self,
chunk_id: &'life1 ChunkId,
) -> Pin<Box<dyn Future<Output = BuckyResult<Option<Box<dyn AsyncReadWithSeek + Unpin + Send + Sync>>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}