pub enum MergeBaseForDiffError {
None,
Multiple,
Other(String),
}Expand description
Failure modes for merge_base_for_diff_index and merge_base_for_diff_two_commits.
Variants§
None
No common ancestor between the commits.
Multiple
More than one minimal merge base (criss-cross history).
Other(String)
Resolution or object read error; message is suitable for stderr.
Trait Implementations§
Source§impl Clone for MergeBaseForDiffError
impl Clone for MergeBaseForDiffError
Source§impl Debug for MergeBaseForDiffError
impl Debug for MergeBaseForDiffError
impl Eq for MergeBaseForDiffError
Source§impl PartialEq for MergeBaseForDiffError
impl PartialEq for MergeBaseForDiffError
impl StructuralPartialEq for MergeBaseForDiffError
Auto Trait Implementations§
impl Freeze for MergeBaseForDiffError
impl RefUnwindSafe for MergeBaseForDiffError
impl Send for MergeBaseForDiffError
impl Sync for MergeBaseForDiffError
impl Unpin for MergeBaseForDiffError
impl UnsafeUnpin for MergeBaseForDiffError
impl UnwindSafe for MergeBaseForDiffError
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§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.