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
Source§fn eq(&self, other: &MaybeApplyPatchVerified) -> bool
fn eq(&self, other: &MaybeApplyPatchVerified) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaybeApplyPatchVerified
Auto Trait Implementations§
impl !RefUnwindSafe for MaybeApplyPatchVerified
impl !UnwindSafe for MaybeApplyPatchVerified
impl Freeze for MaybeApplyPatchVerified
impl Send for MaybeApplyPatchVerified
impl Sync for MaybeApplyPatchVerified
impl Unpin for MaybeApplyPatchVerified
impl UnsafeUnpin 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