Skip to main content

Operator

Trait Operator 

Source
pub trait Operator: Send + Sync {
    // Required methods
    fn next(&mut self) -> OperatorResult;
    fn reset(&mut self);
    fn name(&self) -> &'static str;
}
Expand description

Trait for physical operators.

Required Methods§

Source

fn next(&mut self) -> OperatorResult

Returns the next chunk of data, or None if exhausted.

Source

fn reset(&mut self)

Resets the operator to its initial state.

Source

fn name(&self) -> &'static str

Returns the name of this operator for debugging.

Implementors§