pub enum UnassessedReason {
BinaryFile,
TargetNotText,
}Expand description
Why a path’s apply outcome could not be assessed. The Ord only
breaks merge ties deterministically; it is not a severity.
Variants§
BinaryFile
The diff marks the file binary; there is no hunk text to match.
TargetNotText
The target blob exists but is not valid UTF-8.
Trait Implementations§
Source§impl Clone for UnassessedReason
impl Clone for UnassessedReason
impl Copy for UnassessedReason
Source§impl Debug for UnassessedReason
impl Debug for UnassessedReason
Source§impl<'de> Deserialize<'de> for UnassessedReason
impl<'de> Deserialize<'de> for UnassessedReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UnassessedReason
Source§impl Ord for UnassessedReason
impl Ord for UnassessedReason
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for UnassessedReason
impl PartialEq for UnassessedReason
Source§impl PartialOrd for UnassessedReason
impl PartialOrd for UnassessedReason
Source§impl Serialize for UnassessedReason
impl Serialize for UnassessedReason
impl StructuralPartialEq for UnassessedReason
Auto Trait Implementations§
impl Forget for UnassessedReason
impl Freeze for UnassessedReason
impl Move for UnassessedReason
impl RefUnwindSafe for UnassessedReason
impl Send for UnassessedReason
impl Sync for UnassessedReason
impl Unpin for UnassessedReason
impl UnsafeUnpin for UnassessedReason
impl UnwindSafe for UnassessedReason
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