Struct jj_lib::simple_op_store::SimpleOpStore
source · pub struct SimpleOpStore { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Debug for SimpleOpStore
impl Debug for SimpleOpStore
source§impl OpStore for SimpleOpStore
impl OpStore for SimpleOpStore
fn as_any(&self) -> &dyn Any
fn name(&self) -> &str
fn root_operation_id(&self) -> &OperationId
fn read_view(&self, id: &ViewId) -> OpStoreResult<View>
fn write_view(&self, view: &View) -> OpStoreResult<ViewId>
fn read_operation(&self, id: &OperationId) -> OpStoreResult<Operation>
fn write_operation(&self, operation: &Operation) -> OpStoreResult<OperationId>
source§fn resolve_operation_id_prefix(
&self,
prefix: &HexPrefix
) -> OpStoreResult<PrefixResolution<OperationId>>
fn resolve_operation_id_prefix( &self, prefix: &HexPrefix ) -> OpStoreResult<PrefixResolution<OperationId>>
Resolves an unambiguous operation ID prefix.
source§fn gc(
&self,
head_ids: &[OperationId],
keep_newer: SystemTime
) -> OpStoreResult<()>
fn gc( &self, head_ids: &[OperationId], keep_newer: SystemTime ) -> OpStoreResult<()>
Prunes unreachable operations and views. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SimpleOpStore
impl Send for SimpleOpStore
impl Sync for SimpleOpStore
impl Unpin for SimpleOpStore
impl UnwindSafe for SimpleOpStore
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