Trait rsonpath_lib::engine::Runner
source · pub trait Runner {
fn run<R: QueryResult>(&self, input: &Input) -> R;
}
Expand description
Trait for an engine that can run its query on a given input.
Required Methods
sourcefn run<R: QueryResult>(&self, input: &Input) -> R
fn run<R: QueryResult>(&self, input: &Input) -> R
Compute the QueryResult
on given Input
.