pub struct SqliteSyncConflictStore { /* private fields */ }Expand description
SQLite-backed bounded conflict registry. It records decisions, never applies them.
Trait Implementations§
Source§impl Clone for SqliteSyncConflictStore
impl Clone for SqliteSyncConflictStore
Source§impl Debug for SqliteSyncConflictStore
impl Debug for SqliteSyncConflictStore
Source§impl SyncConflictStore for SqliteSyncConflictStore
impl SyncConflictStore for SqliteSyncConflictStore
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 SqliteSyncConflictStore
impl !UnwindSafe for SqliteSyncConflictStore
impl Forget for SqliteSyncConflictStore
impl Freeze for SqliteSyncConflictStore
impl Move for SqliteSyncConflictStore
impl Send for SqliteSyncConflictStore
impl Sync for SqliteSyncConflictStore
impl Unpin for SqliteSyncConflictStore
impl UnsafeUnpin for SqliteSyncConflictStore
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