Expand description
Context object used for error reporting.
The Context struct is mostly used when interacting between the interpreter and function implemenations. Unless you’re writing custom JMESPath functions, this struct is an implementation detail.
Fields
expression: &'a str
Expression string that is being interpreted.
runtime: &'a Runtime
JMESPath runtime used to compile the expression and call functions.
offset: usize
Ast offset that is currently being evaluated.
Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Context<'a>
impl<'a> Send for Context<'a>
impl<'a> Sync for Context<'a>
impl<'a> Unpin for Context<'a>
impl<'a> !UnwindSafe for Context<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more