pub enum CreatedStore {
InMemory(ArrowGraphStore),
Simple(SimpleTripleStore),
KnowledgeGraph(KgStore),
}Expand description
Created graph store — enum dispatch over backend types.
Variants§
Implementations§
Source§impl CreatedStore
impl CreatedStore
Sourcepub fn into_arrow(self) -> ArrowGraphStore
pub fn into_arrow(self) -> ArrowGraphStore
Unwrap as ArrowGraphStore (panics if wrong variant).
Sourcepub fn into_simple(self) -> SimpleTripleStore
pub fn into_simple(self) -> SimpleTripleStore
Unwrap as SimpleTripleStore (panics if wrong variant).
Sourcepub fn try_into_arrow(self) -> Option<ArrowGraphStore>
pub fn try_into_arrow(self) -> Option<ArrowGraphStore>
Try to unwrap as ArrowGraphStore.
Sourcepub fn try_into_simple(self) -> Option<SimpleTripleStore>
pub fn try_into_simple(self) -> Option<SimpleTripleStore>
Try to unwrap as SimpleTripleStore.
Sourcepub fn try_into_kg(self) -> Option<KgStore>
pub fn try_into_kg(self) -> Option<KgStore>
Try to unwrap as KgStore.
Auto Trait Implementations§
impl Freeze for CreatedStore
impl !RefUnwindSafe for CreatedStore
impl Send for CreatedStore
impl Sync for CreatedStore
impl Unpin for CreatedStore
impl UnsafeUnpin for CreatedStore
impl !UnwindSafe for CreatedStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more