pub enum SyncRefComparisonState {
InSync,
Differs,
RemoteOnly,
LocalOnly,
}Expand description
One ref’s own comparison state, from compare_sync_summary.
Variants§
InSync
Both sides have this ref, and their digests agree.
Differs
Both sides have this ref, but their digests disagree.
RemoteOnly
Only the remote summary names this ref – this repository does not hold it.
LocalOnly
Only this repository holds this ref – the remote summary does not name it.
Implementations§
Trait Implementations§
Source§impl Clone for SyncRefComparisonState
impl Clone for SyncRefComparisonState
Source§fn clone(&self) -> SyncRefComparisonState
fn clone(&self) -> SyncRefComparisonState
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 SyncRefComparisonState
Source§impl Debug for SyncRefComparisonState
impl Debug for SyncRefComparisonState
impl Eq for SyncRefComparisonState
Source§impl PartialEq for SyncRefComparisonState
impl PartialEq for SyncRefComparisonState
impl StructuralPartialEq for SyncRefComparisonState
Auto Trait Implementations§
impl Freeze for SyncRefComparisonState
impl RefUnwindSafe for SyncRefComparisonState
impl Send for SyncRefComparisonState
impl Sync for SyncRefComparisonState
impl Unpin for SyncRefComparisonState
impl UnsafeUnpin for SyncRefComparisonState
impl UnwindSafe for SyncRefComparisonState
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