pub struct SimpleOpHeadsStore { /* private fields */ }Implementations§
Trait Implementations§
source§impl Debug for SimpleOpHeadsStore
impl Debug for SimpleOpHeadsStore
source§impl OpHeadsStore for SimpleOpHeadsStore
impl OpHeadsStore for SimpleOpHeadsStore
fn as_any(&self) -> &dyn Any
fn name(&self) -> &str
source§fn update_op_heads(&self, old_ids: &[OperationId], new_id: &OperationId)
fn update_op_heads(&self, old_ids: &[OperationId], new_id: &OperationId)
Remove the old op heads and add the new one. Read more
fn get_op_heads(&self) -> Vec<OperationId>
source§fn lock(&self) -> Box<dyn OpHeadsStoreLock + '_>
fn lock(&self) -> Box<dyn OpHeadsStoreLock + '_>
Optionally takes a lock on the op heads store. The purpose of the lock
is to prevent concurrent processes from resolving the same divergent
operations. It is not needed for correctness; implementations are free
to return a type that doesn’t hold.
Auto Trait Implementations§
impl Freeze for SimpleOpHeadsStore
impl RefUnwindSafe for SimpleOpHeadsStore
impl Send for SimpleOpHeadsStore
impl Sync for SimpleOpHeadsStore
impl Unpin for SimpleOpHeadsStore
impl UnwindSafe for SimpleOpHeadsStore
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more