pub enum YamlPatchErrorKind {
Syntax,
Structure,
Application,
}Expand description
Classification of a YAML patch failure.
Variants§
Syntax
The patch source is not valid YAML.
Structure
The parsed document is not a valid patch document.
Application
A valid operation could not be applied to the target document.
Trait Implementations§
Source§impl Clone for YamlPatchErrorKind
impl Clone for YamlPatchErrorKind
Source§fn clone(&self) -> YamlPatchErrorKind
fn clone(&self) -> YamlPatchErrorKind
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 YamlPatchErrorKind
Source§impl Debug for YamlPatchErrorKind
impl Debug for YamlPatchErrorKind
impl Eq for YamlPatchErrorKind
Source§impl PartialEq for YamlPatchErrorKind
impl PartialEq for YamlPatchErrorKind
impl StructuralPartialEq for YamlPatchErrorKind
Auto Trait Implementations§
impl Freeze for YamlPatchErrorKind
impl RefUnwindSafe for YamlPatchErrorKind
impl Send for YamlPatchErrorKind
impl Sync for YamlPatchErrorKind
impl Unpin for YamlPatchErrorKind
impl UnsafeUnpin for YamlPatchErrorKind
impl UnwindSafe for YamlPatchErrorKind
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