Trait jj_lib::op_store::OpStore

source ·
pub trait OpStore: Send + Sync + Debug {
    // Required methods
    fn name(&self) -> &str;
    fn read_view(&self, id: &ViewId) -> OpStoreResult<View>;
    fn write_view(&self, contents: &View) -> OpStoreResult<ViewId>;
    fn read_operation(&self, id: &OperationId) -> OpStoreResult<Operation>;
    fn write_operation(
        &self,
        contents: &Operation
    ) -> OpStoreResult<OperationId>;
}

Required Methods§

Implementors§