pub enum SyncClass {
InSync,
LocalAhead,
RemoteAhead,
Conflict,
LocalOnly,
RemoteOnly,
Untracked,
}Expand description
Sync classification of one resource.
Variants§
InSync
Local, remote and baseline all agree.
LocalAhead
Local changed since last sync; remote unchanged.
RemoteAhead
Remote changed since last sync; local unchanged.
Conflict
Both changed since last sync.
LocalOnly
Exists locally, not remotely (new resource or remote-deleted).
RemoteOnly
Exists remotely, not locally (unmanaged or locally-deleted).
Untracked
No baseline; local and remote both exist but differ (never synced).
Trait Implementations§
impl Copy for SyncClass
impl Eq for SyncClass
impl StructuralPartialEq for SyncClass
Auto Trait Implementations§
impl Freeze for SyncClass
impl RefUnwindSafe for SyncClass
impl Send for SyncClass
impl Sync for SyncClass
impl Unpin for SyncClass
impl UnsafeUnpin for SyncClass
impl UnwindSafe for SyncClass
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.