pub enum DebugUndoOutcome {
Show 14 variants
RepoUnavailable {
workspace: PathBuf,
error: String,
},
SnapshotPending,
NoSnapshots,
NoSession,
NoOwnedSteps,
NoDifference,
OpenEnded,
CompareFailed(String),
SnapshotFailed(String),
ChangedSince {
paths: Vec<String>,
},
ListFailed(String),
RestoreBlocked(String),
RestoreFailed(String),
Restored(DebugUndoRestored),
}Variants§
SnapshotPending
NoSnapshots
NoSession
NoOwnedSteps
NoDifference
OpenEnded
The last request has no recorded end, so undoing it would also put
back edits made since. Nothing was written; force runs it.
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 Forget for DebugUndoOutcome
impl Freeze for DebugUndoOutcome
impl Move 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