pub struct SqliteGraphStore { /* private fields */ }Implementations§
Source§impl SqliteGraphStore
impl SqliteGraphStore
pub fn import_document( path: impl AsRef<Path>, graph_key: impl Into<String>, portable: &PortableDocument, ) -> Result<SqliteGraphStore, GraphStoreError>
pub fn open( path: impl AsRef<Path>, graph_key: impl Into<String>, ) -> Result<SqliteGraphStore, GraphStoreError>
Trait Implementations§
Source§impl Debug for SqliteGraphStore
impl Debug for SqliteGraphStore
Source§impl GraphStore for SqliteGraphStore
impl GraphStore for SqliteGraphStore
fn stats(&self) -> GraphStoreStats
fn observability(&self) -> GraphStoreObservability
fn root_id(&self) -> BlockId
fn node_ids(&self) -> Vec<BlockId>
fn node(&self, block_id: BlockId) -> Option<GraphNodeRecord>
fn children(&self, block_id: BlockId) -> Vec<BlockId>
fn parent(&self, block_id: BlockId) -> Option<BlockId>
fn outgoing_edges(&self, block_id: BlockId) -> Vec<GraphEdgeSummary>
fn incoming_edges(&self, block_id: BlockId) -> Vec<GraphEdgeSummary>
fn resolve_selector(&self, selector: &str) -> Option<BlockId>
fn to_portable_document(&self) -> Result<PortableDocument, GraphStoreError>
Auto Trait Implementations§
impl !Freeze for SqliteGraphStore
impl !RefUnwindSafe for SqliteGraphStore
impl Send for SqliteGraphStore
impl !Sync for SqliteGraphStore
impl Unpin for SqliteGraphStore
impl UnsafeUnpin for SqliteGraphStore
impl !UnwindSafe for SqliteGraphStore
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