pub trait Operand:
'static
+ Sized
+ Clone
+ EvaluateOperand
+ Send
+ Sync {
// Required methods
fn context(&self) -> &dyn OperandContext<Self>;
fn as_plan_node(&self) -> &dyn PlanNode;
fn from_context(context: Arc<dyn OperandContext<Self>>) -> Self;
// Provided methods
fn new<C: OperandContext<Self>>(context: C) -> Self { ... }
fn explain(&self) -> Explanation<'_> { ... }
}Required Methods§
fn context(&self) -> &dyn OperandContext<Self>
fn as_plan_node(&self) -> &dyn PlanNode
fn from_context(context: Arc<dyn OperandContext<Self>>) -> Self
Provided Methods§
fn new<C: OperandContext<Self>>(context: C) -> Self
fn explain(&self) -> Explanation<'_>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".