pub enum HostProjectSyncPhase {
Running,
ResolvingConflicts {
conflicted_file_count: usize,
},
Complete {
pulled_commits: Option<u32>,
pushed_commits: Option<u32>,
resolved_conflict_count: usize,
},
Blocked {
message: String,
},
Failed {
message: String,
},
}Expand description
How far an explicit project sync has come.
Variants§
Running
The host is pulling, rebasing, or pushing.
ResolvingConflicts
An agent is resolving the conflicts of this many files.
Complete
The branch matches its upstream.
Fields
Blocked
The host did not start the sync, such as while a merge runs or the checkout has uncommitted changes.
Failed
Git, authentication, or conflict resolution failed.
Trait Implementations§
Source§impl Clone for HostProjectSyncPhase
impl Clone for HostProjectSyncPhase
Source§impl Debug for HostProjectSyncPhase
impl Debug for HostProjectSyncPhase
impl Eq for HostProjectSyncPhase
Source§impl PartialEq for HostProjectSyncPhase
impl PartialEq for HostProjectSyncPhase
impl StructuralPartialEq for HostProjectSyncPhase
Auto Trait Implementations§
impl Forget for HostProjectSyncPhase
impl Freeze for HostProjectSyncPhase
impl Move for HostProjectSyncPhase
impl RefUnwindSafe for HostProjectSyncPhase
impl Send for HostProjectSyncPhase
impl Sync for HostProjectSyncPhase
impl Unpin for HostProjectSyncPhase
impl UnsafeUnpin for HostProjectSyncPhase
impl UnwindSafe for HostProjectSyncPhase
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.