pub enum WorktreeUsageSyncState {
Synchronized,
Current,
}Expand description
Result of one monotonic worktree aggregate synchronization attempt.
Variants§
Synchronized
A strictly newer snapshot replaced only the selected origin.
Current
The same or an older snapshot left the accepted origin unchanged.
Trait Implementations§
Source§impl Clone for WorktreeUsageSyncState
impl Clone for WorktreeUsageSyncState
Source§fn clone(&self) -> WorktreeUsageSyncState
fn clone(&self) -> WorktreeUsageSyncState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WorktreeUsageSyncState
Source§impl Debug for WorktreeUsageSyncState
impl Debug for WorktreeUsageSyncState
impl Eq for WorktreeUsageSyncState
Source§impl PartialEq for WorktreeUsageSyncState
impl PartialEq for WorktreeUsageSyncState
Source§fn eq(&self, other: &WorktreeUsageSyncState) -> bool
fn eq(&self, other: &WorktreeUsageSyncState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorktreeUsageSyncState
impl Serialize for WorktreeUsageSyncState
impl StructuralPartialEq for WorktreeUsageSyncState
Auto Trait Implementations§
impl Freeze for WorktreeUsageSyncState
impl RefUnwindSafe for WorktreeUsageSyncState
impl Send for WorktreeUsageSyncState
impl Sync for WorktreeUsageSyncState
impl Unpin for WorktreeUsageSyncState
impl UnsafeUnpin for WorktreeUsageSyncState
impl UnwindSafe for WorktreeUsageSyncState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.