Enum jj_lib::git::FailedRefExportReason
source · pub enum FailedRefExportReason {
InvalidGitName,
ConflictedOldState,
OnRootCommit,
DeletedInJjModifiedInGit,
AddedInJjAddedInGit,
ModifiedInJjDeletedInGit,
FailedToDelete(Error),
FailedToSet(Error),
}
Expand description
The reason we failed to export a ref to Git.
Variants§
InvalidGitName
The name is not allowed in Git.
ConflictedOldState
The ref was in a conflicted state from the last import. A re-import should fix it.
OnRootCommit
The branch points to the root commit, which Git doesn’t have
DeletedInJjModifiedInGit
We wanted to delete it, but it had been modified in Git.
AddedInJjAddedInGit
We wanted to add it, but Git had added it with a different target
ModifiedInJjDeletedInGit
We wanted to modify it, but Git had deleted it
FailedToDelete(Error)
Failed to delete the ref from the Git repo
FailedToSet(Error)
Failed to set the ref in the Git repo
Trait Implementations§
source§impl Debug for FailedRefExportReason
impl Debug for FailedRefExportReason
source§impl PartialEq for FailedRefExportReason
impl PartialEq for FailedRefExportReason
source§fn eq(&self, other: &FailedRefExportReason) -> bool
fn eq(&self, other: &FailedRefExportReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FailedRefExportReason
Auto Trait Implementations§
impl RefUnwindSafe for FailedRefExportReason
impl Send for FailedRefExportReason
impl Sync for FailedRefExportReason
impl Unpin for FailedRefExportReason
impl UnwindSafe for FailedRefExportReason
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