pub enum PatchErrorKind {
Header,
UnexpectedLine,
MissingNewlineTarget,
IncompleteHunk,
ExcessLines,
}Variants§
Trait Implementations§
Source§impl Clone for PatchErrorKind
impl Clone for PatchErrorKind
Source§fn clone(&self) -> PatchErrorKind
fn clone(&self) -> PatchErrorKind
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 moreimpl Copy for PatchErrorKind
Source§impl Debug for PatchErrorKind
impl Debug for PatchErrorKind
impl Eq for PatchErrorKind
Source§impl PartialEq for PatchErrorKind
impl PartialEq for PatchErrorKind
impl StructuralPartialEq for PatchErrorKind
Auto Trait Implementations§
impl Freeze for PatchErrorKind
impl RefUnwindSafe for PatchErrorKind
impl Send for PatchErrorKind
impl Sync for PatchErrorKind
impl Unpin for PatchErrorKind
impl UnsafeUnpin for PatchErrorKind
impl UnwindSafe for PatchErrorKind
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