pub enum DebugUndoOutcome {
Show 14 variants
RepoUnavailable {
workspace: PathBuf,
error: String,
},
SnapshotPending,
NoSnapshots,
NoSession,
NoOwnedSteps,
NoDifference,
Untrusted,
CompareFailed(String),
SnapshotFailed(String),
ChangedSince {
label: String,
paths: Vec<String>,
},
ListFailed(String),
RestoreBlocked(String),
RestoreFailed(String),
Restored(DebugUndoRestored),
}Variants§
SnapshotPending
NoSnapshots
NoSession
NoOwnedSteps
NoDifference
Untrusted
CompareFailed(String)
SnapshotFailed(String)
ChangedSince
ListFailed(String)
RestoreBlocked(String)
RestoreFailed(String)
Restored(DebugUndoRestored)
Trait Implementations§
Source§impl Clone for DebugUndoOutcome
impl Clone for DebugUndoOutcome
Source§impl Debug for DebugUndoOutcome
impl Debug for DebugUndoOutcome
Source§impl PartialEq for DebugUndoOutcome
impl PartialEq for DebugUndoOutcome
impl StructuralPartialEq for DebugUndoOutcome
Auto Trait Implementations§
impl Freeze for DebugUndoOutcome
impl RefUnwindSafe for DebugUndoOutcome
impl Send for DebugUndoOutcome
impl Sync for DebugUndoOutcome
impl Unpin for DebugUndoOutcome
impl UnsafeUnpin for DebugUndoOutcome
impl UnwindSafe for DebugUndoOutcome
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