pub struct ApplyDiffError { /* private fields */ }Expand description
An error produced when a patch cannot be parsed or applied safely.
The message identifies the first invalid anchor, context, content line,
envelope marker, root, or path. Filesystem errors scoped to an individual
logical file are reported as FailedFile entries when the filesystem
feature is enabled.
Implementations§
Trait Implementations§
Source§impl Clone for ApplyDiffError
impl Clone for ApplyDiffError
Source§impl Debug for ApplyDiffError
impl Debug for ApplyDiffError
Source§impl Display for ApplyDiffError
impl Display for ApplyDiffError
impl Eq for ApplyDiffError
Source§impl Error for ApplyDiffError
impl Error for ApplyDiffError
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 ApplyDiffError
impl PartialEq for ApplyDiffError
impl StructuralPartialEq for ApplyDiffError
Auto Trait Implementations§
impl Freeze for ApplyDiffError
impl RefUnwindSafe for ApplyDiffError
impl Send for ApplyDiffError
impl Sync for ApplyDiffError
impl Unpin for ApplyDiffError
impl UnsafeUnpin for ApplyDiffError
impl UnwindSafe for ApplyDiffError
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