Skip to main content

ActivatorTrait

Trait ActivatorTrait 

Source
pub trait ActivatorTrait {
    // Required methods
    fn activate(&self);
    fn ack(&self);
    fn register<'scope, T: Timestamp>(
        &self,
        scope: Scope<'scope, T>,
        path: Rc<[usize]>,
    );
}
Expand description

Generic activator behavior

Required Methods§

Source

fn activate(&self)

Trigger an activation of operators behind this activator.

Source

fn ack(&self)

Acknowledge the receipt of activations from within an operator.

Source

fn register<'scope, T: Timestamp>( &self, scope: Scope<'scope, T>, path: Rc<[usize]>, )

Register a new operator with its path with this activator.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§