pub enum JsonPathError {
InvalidJsonPath(String, usize),
EvaluationError(String),
}
Variants§
Trait Implementations§
Source§impl Debug for JsonPathError
impl Debug for JsonPathError
Source§impl Display for JsonPathError
impl Display for JsonPathError
Source§impl Error for JsonPathError
impl Error for JsonPathError
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<PeekMoreError> for JsonPathError
impl From<PeekMoreError> for JsonPathError
Source§fn from(_value: PeekMoreError) -> Self
fn from(_value: PeekMoreError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JsonPathError
impl PartialEq for JsonPathError
impl StructuralPartialEq for JsonPathError
Auto Trait Implementations§
impl Freeze for JsonPathError
impl RefUnwindSafe for JsonPathError
impl Send for JsonPathError
impl Sync for JsonPathError
impl Unpin for JsonPathError
impl UnwindSafe for JsonPathError
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