Skip to main content

CeaStore

Trait CeaStore 

Source
pub trait CeaStore {
    // Required methods
    fn with_write_tx<T, F>(&self, f: F) -> Result<T, CeaStoreError>
       where F: FnOnce(&dyn CeaStoreWriteTx) -> Result<T, CeaStoreError>;
    fn load_nodes(&self) -> Result<Vec<CeaNodeRow>, CeaStoreError>;
    fn load_edges(
        &self,
        version_id: Option<&str>,
    ) -> Result<Vec<CeaEdgeRow>, CeaStoreError>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§