pub enum UndoApplyPreflightError {
IrreversiblePurge {
ops: Vec<PurgeOpRef>,
},
RedactionBytesPurged {
ops: Vec<RedactOpRef>,
},
RedactionUndoRequiresConfirmation {
ops: Vec<RedactOpRef>,
},
RedactionRedoUnsupported {
ops: Vec<UnsupportedRedoOp>,
},
ThreadWorktreeUndoUnsafe {
live: Vec<LiveThreadWorktree>,
},
UndoStateMissing {
missing: Vec<RequiredStateRef>,
},
RedoStateMissing {
missing: Vec<RequiredStateRef>,
},
}Expand description
Typed apply-path preflight refusals (CLI maps to recovery advice).
Variants§
IrreversiblePurge
Fields
§
ops: Vec<PurgeOpRef>RedactionBytesPurged
Fields
§
ops: Vec<RedactOpRef>RedactionUndoRequiresConfirmation
Fields
§
ops: Vec<RedactOpRef>RedactionRedoUnsupported
Fields
§
ops: Vec<UnsupportedRedoOp>ThreadWorktreeUndoUnsafe
Fields
§
live: Vec<LiveThreadWorktree>UndoStateMissing
Fields
§
missing: Vec<RequiredStateRef>RedoStateMissing
Fields
§
missing: Vec<RequiredStateRef>Implementations§
Trait Implementations§
Source§impl Clone for UndoApplyPreflightError
impl Clone for UndoApplyPreflightError
Source§fn clone(&self) -> UndoApplyPreflightError
fn clone(&self) -> UndoApplyPreflightError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UndoApplyPreflightError
impl Debug for UndoApplyPreflightError
Source§impl Display for UndoApplyPreflightError
impl Display for UndoApplyPreflightError
impl Eq for UndoApplyPreflightError
Source§impl Error for UndoApplyPreflightError
impl Error for UndoApplyPreflightError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for UndoApplyPreflightError
impl PartialEq for UndoApplyPreflightError
impl StructuralPartialEq for UndoApplyPreflightError
Auto Trait Implementations§
impl Freeze for UndoApplyPreflightError
impl RefUnwindSafe for UndoApplyPreflightError
impl Send for UndoApplyPreflightError
impl Sync for UndoApplyPreflightError
impl Unpin for UndoApplyPreflightError
impl UnsafeUnpin for UndoApplyPreflightError
impl UnwindSafe for UndoApplyPreflightError
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