pub trait ExpressionExt {
// Required methods
fn map_resolve(
&self,
ctx: &mut Context<'_>,
) -> Result<Option<Value>, ExpressionError>;
fn map_resolve_with_default<F>(
&self,
ctx: &mut Context<'_>,
default_fn: F,
) -> Resolved
where F: FnOnce() -> Value;
}Required Methods§
fn map_resolve( &self, ctx: &mut Context<'_>, ) -> Result<Option<Value>, ExpressionError>
fn map_resolve_with_default<F>( &self, ctx: &mut Context<'_>, default_fn: F, ) -> Resolved
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.