pub enum JsonEditError {
TargetMissing {
path: JsonPath,
},
NotUtf8 {
path: JsonPath,
},
Parse {
path: JsonPath,
format: JsonFormat,
message: String,
},
Traversal {
path: JsonPath,
message: String,
},
IndexOutOfRange {
path: JsonPath,
index: usize,
},
}Variants§
Trait Implementations§
Source§impl Debug for JsonEditError
impl Debug for JsonEditError
Source§impl Display for JsonEditError
impl Display for JsonEditError
Source§impl Error for JsonEditError
impl Error for JsonEditError
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 From<JsonEditError> for ApplyError
impl From<JsonEditError> for ApplyError
Source§fn from(source: JsonEditError) -> Self
fn from(source: JsonEditError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JsonEditError
impl RefUnwindSafe for JsonEditError
impl Send for JsonEditError
impl Sync for JsonEditError
impl Unpin for JsonEditError
impl UnsafeUnpin for JsonEditError
impl UnwindSafe for JsonEditError
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