pub enum DebugDiffObservation {
GitUnavailable,
NoBaseline,
Output {
names: String,
stat: String,
patch: String,
patch_truncated: bool,
},
Failed(String),
}Variants§
NoBaseline
Nothing to compare against: the session has saved no restore point for this workspace and the workspace is not a git repository.
Output
Fields
Failed(String)
Trait Implementations§
Source§impl Clone for DebugDiffObservation
impl Clone for DebugDiffObservation
Source§impl Debug for DebugDiffObservation
impl Debug for DebugDiffObservation
impl Eq for DebugDiffObservation
Source§impl PartialEq for DebugDiffObservation
impl PartialEq for DebugDiffObservation
impl StructuralPartialEq for DebugDiffObservation
Auto Trait Implementations§
impl Forget for DebugDiffObservation
impl Freeze for DebugDiffObservation
impl Move for DebugDiffObservation
impl RefUnwindSafe for DebugDiffObservation
impl Send for DebugDiffObservation
impl Sync for DebugDiffObservation
impl Unpin for DebugDiffObservation
impl UnsafeUnpin for DebugDiffObservation
impl UnwindSafe for DebugDiffObservation
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.