Type Alias OwnedIndex

Source
pub type OwnedIndex<E> = GenericIndex<E, Arc<IndexMetadata>, Arc<SpaceMetadata>>;
Expand description

Owned index type, which can exists without related Space object.

Aliased Type§

pub struct OwnedIndex<E> { /* private fields */ }

Implementations§

Source§

impl OwnedIndex<Transaction>

Source

pub async fn commit(self) -> Result<()>

Commit inner tranasction.

Source

pub async fn rollback(self) -> Result<()>

Rollback inner tranasction.