pub enum RepoSyncOutcome {
Missing,
BookmarkCreated {
base_ref: String,
edit_ok: bool,
},
BookmarkExists {
edit_ok: bool,
},
BookmarkCreateFailed {
base_ref: String,
detail: String,
},
WorktreeCreated {
base_ref: String,
workspace_path: String,
},
WorktreeExists {
workspace_path: String,
},
WorktreeCreateFailed {
base_ref: String,
detail: String,
},
}Expand description
Per-repository result from a sync run.
Variants§
Missing
BookmarkCreated
BookmarkExists
BookmarkCreateFailed
WorktreeCreated
WorktreeExists
WorktreeCreateFailed
Trait Implementations§
Source§impl Clone for RepoSyncOutcome
impl Clone for RepoSyncOutcome
Source§fn clone(&self) -> RepoSyncOutcome
fn clone(&self) -> RepoSyncOutcome
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 moreSource§impl Debug for RepoSyncOutcome
impl Debug for RepoSyncOutcome
impl Eq for RepoSyncOutcome
Source§impl PartialEq for RepoSyncOutcome
impl PartialEq for RepoSyncOutcome
Source§fn eq(&self, other: &RepoSyncOutcome) -> bool
fn eq(&self, other: &RepoSyncOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepoSyncOutcome
Auto Trait Implementations§
impl Freeze for RepoSyncOutcome
impl RefUnwindSafe for RepoSyncOutcome
impl Send for RepoSyncOutcome
impl Sync for RepoSyncOutcome
impl Unpin for RepoSyncOutcome
impl UnsafeUnpin for RepoSyncOutcome
impl UnwindSafe for RepoSyncOutcome
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