JsonPathEval

Trait JsonPathEval 

Source
pub trait JsonPathEval {
    type Iter<'a>
       where Self: 'a;

    // Required method
    fn json_path<'a>(&'a self, path: &'a JsonPath<'a>) -> Self::Iter<'a>;
}
Expand description

Trait implemented by types capable of evaluating JSON Paths.

Required Associated Types§

Source

type Iter<'a> where Self: 'a

Required Methods§

Source

fn json_path<'a>(&'a self, path: &'a JsonPath<'a>) -> Self::Iter<'a>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl JsonPathEval for Any

Source§

type Iter<'a> = JsonPathIter<'a>

Source§

impl<T> JsonPathEval for T
where T: ReadTxn,

Source§

type Iter<'a> = JsonPathIter<'a, T> where T: 'a