pub enum MaybeApplyPatchVerified {
Body(ApplyPatchAction),
ShellParseError(ExtractHeredocError),
CorrectnessError(PatchError),
NotApplyPatch,
}
Variants§
Body(ApplyPatchAction)
argv
corresponded to an apply_patch
invocation, and these are the
resulting proposed file changes.
ShellParseError(ExtractHeredocError)
argv
could not be parsed to determine whether it corresponds to an
apply_patch
invocation.
CorrectnessError(PatchError)
argv
corresponded to an apply_patch
invocation, but it could not
be fulfilled due to the specified error.
NotApplyPatch
argv
decidedly did not correspond to an apply_patch
invocation.
Trait Implementations§
Source§impl Debug for MaybeApplyPatchVerified
impl Debug for MaybeApplyPatchVerified
Source§impl PartialEq for MaybeApplyPatchVerified
impl PartialEq for MaybeApplyPatchVerified
impl StructuralPartialEq for MaybeApplyPatchVerified
Auto Trait Implementations§
impl Freeze for MaybeApplyPatchVerified
impl !RefUnwindSafe for MaybeApplyPatchVerified
impl Send for MaybeApplyPatchVerified
impl Sync for MaybeApplyPatchVerified
impl Unpin for MaybeApplyPatchVerified
impl !UnwindSafe for MaybeApplyPatchVerified
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