Skip to main content

Operand

Trait Operand 

Source
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§

Source

fn context(&self) -> &dyn OperandContext<Self>

Source

fn as_plan_node(&self) -> &dyn PlanNode

Source

fn from_context(context: Arc<dyn OperandContext<Self>>) -> Self

Provided Methods§

Source

fn new<C: OperandContext<Self>>(context: C) -> Self

Source

fn explain(&self) -> Explanation<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§