Skip to main content

OperatorExt

Trait OperatorExt 

Source
pub trait OperatorExt<I, T, U>
where I: Id, T: Value,
{ // Required method fn with_operator<O>(&self, operator: O) -> Stream<I, U> where O: Operator<I, T> + 'static, U: Value; }
Expand description

Operator extension trait.

Required Methods§

Source

fn with_operator<O>(&self, operator: O) -> Stream<I, U>
where O: Operator<I, T> + 'static, U: Value,

Applies the given operator and returns a stream.

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.

Implementors§

Source§

impl<I, T, U> OperatorExt<I, T, U> for Stream<I, T>
where I: Id, T: Value,