Enum json_patch::PatchError [−][src]
pub enum PatchError {
InvalidPointer,
TestFailed,
}This type represents all possible errors that can occur when applying JSON patch
Variants
InvalidPointerOne of the pointers in the patch is invalid
TestFailed'test' operation failed
Trait Implementations
impl Debug for PatchError[src]
impl Debug for PatchErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for PatchError[src]
impl Error for PatchErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for PatchError[src]
impl Display for PatchErrorAuto Trait Implementations
impl Send for PatchError
impl Send for PatchErrorimpl Sync for PatchError
impl Sync for PatchError