pub enum SyncTrack {
PerRepo,
Global,
}Expand description
Which sync-tracking column a merge or import marks on write.
A session carries two independent sync tracks: the per-repo store
(synced_at) and the global personal store (global_synced_at). A local
content change invalidates BOTH tracks, but each store syncs and marks its
own column so a push to one store never marks a session as synced for the
other.
Variants§
PerRepo
The per-repo store’s synced_at column.
Global
The global personal store’s global_synced_at column.
Trait Implementations§
impl Copy for SyncTrack
impl Eq for SyncTrack
impl StructuralPartialEq for SyncTrack
Auto Trait Implementations§
impl Freeze for SyncTrack
impl RefUnwindSafe for SyncTrack
impl Send for SyncTrack
impl Sync for SyncTrack
impl Unpin for SyncTrack
impl UnsafeUnpin for SyncTrack
impl UnwindSafe for SyncTrack
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