pub struct InMemorySyncConflictStore { /* private fields */ }Expand description
Bounded process-local conflict store for Runtime/UI coordination.
Implementations§
Trait Implementations§
Source§impl Clone for InMemorySyncConflictStore
impl Clone for InMemorySyncConflictStore
Source§impl Debug for InMemorySyncConflictStore
impl Debug for InMemorySyncConflictStore
Source§impl Default for InMemorySyncConflictStore
impl Default for InMemorySyncConflictStore
Source§impl SyncConflictStore for InMemorySyncConflictStore
impl SyncConflictStore for InMemorySyncConflictStore
Source§fn record(&self, conflict: SyncConflict) -> SyncResult<()>
fn record(&self, conflict: SyncConflict) -> SyncResult<()>
Records one conflict, accepting an identical replay.
Source§fn resolve(
&self,
request: SyncConflictResolutionRequest,
) -> SyncResult<SyncConflictResolutionReceipt>
fn resolve( &self, request: SyncConflictResolutionRequest, ) -> SyncResult<SyncConflictResolutionReceipt>
Applies or replays one resolution without mutating replication payloads.
Source§fn list(&self) -> SyncResult<Vec<SyncConflict>>
fn list(&self) -> SyncResult<Vec<SyncConflict>>
Lists payload-free conflicts in stable identity order.
Auto Trait Implementations§
impl !RefUnwindSafe for InMemorySyncConflictStore
impl !UnwindSafe for InMemorySyncConflictStore
impl Forget for InMemorySyncConflictStore
impl Freeze for InMemorySyncConflictStore
impl Send for InMemorySyncConflictStore
impl Sync for InMemorySyncConflictStore
impl Unpin for InMemorySyncConflictStore
impl UnsafeUnpin for InMemorySyncConflictStore
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