pub struct RocksGraphStore { /* private fields */ }Implementations§
Source§impl RocksGraphStore
impl RocksGraphStore
pub fn open(path: &Path) -> Result<Self, StoreError>
pub fn save_graph(&self, graph: &GraphynGraph) -> Result<(), StoreError>
pub fn load_graph(&self) -> Result<GraphynGraph, StoreError>
pub fn save_snapshot(&self, snapshot: &GraphSnapshot) -> Result<(), StoreError>
pub fn load_snapshot(&self) -> Result<GraphSnapshot, StoreError>
Auto Trait Implementations§
impl Freeze for RocksGraphStore
impl RefUnwindSafe for RocksGraphStore
impl Send for RocksGraphStore
impl Sync for RocksGraphStore
impl Unpin for RocksGraphStore
impl UnsafeUnpin for RocksGraphStore
impl UnwindSafe for RocksGraphStore
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