VariableResolver implements a custom resolver for variables that is consulted before looking at variables added to the context. This allows dynamic variables, or avoiding HashMap lookup/creation. # Example ``` struct ValueContext { request: cel::Value, response: cel::Value, } impl cel::context::VariableResolver for ValueContext { fn resolve(&self, variable: &str) -> Option { match v
| 283 | /// } |
| 284 | /// ``` |
| 285 | pub trait VariableResolver: Send + Sync { |
| 286 | fn resolve(&self, variable: &str) -> Option<Value>; |
| 287 | } |
| 288 | |
| 289 | impl<T: VariableResolver> VariableResolver for Box<T> { |
| 290 | fn resolve(&self, variable: &str) -> Option<Value> { |
nothing calls this directly
no outgoing calls
no test coverage detected