pub enum PathError {
Invalid(String),
NoResults(String),
MissingProperty {
property: String,
parent: String,
},
}Expand description
Why a path could not be evaluated.
Variants§
Invalid(String)
Syntactically invalid path.
NoResults(String)
A definite path matched nothing. Carries the normalized path
($['a'][0]) as Jayway reports it.
MissingProperty
A definite path asked an array for a property: the property (['b'])
and the normalized path to the array ($['a']).
Trait Implementations§
impl StructuralPartialEq for PathError
Auto Trait Implementations§
impl Forget for PathError
impl Freeze for PathError
impl Move for PathError
impl RefUnwindSafe for PathError
impl Send for PathError
impl Sync for PathError
impl Unpin for PathError
impl UnsafeUnpin for PathError
impl UnwindSafe for PathError
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