Type Definition asuran::repository::backend::object_wrappers::IndexObject [−][src]
pub type IndexObject = Box<dyn Index + 'static>;
Trait Implementations
fn lookup_chunk<'life0, 'async_trait>(
&'life0 mut self,
id: ChunkID
) -> Pin<Box<dyn Future<Output = Option<SegmentDescriptor>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn lookup_chunk<'life0, 'async_trait>(
&'life0 mut self,
id: ChunkID
) -> Pin<Box<dyn Future<Output = Option<SegmentDescriptor>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provides the location of a chunk in the repository
Sets the location of a chunk in the repository
Returns the set of all ChunkID
s known to exist in the Asuran repository.
Commits the index