[][src]Struct tempest::pipeline::PipelineAggregate

pub struct PipelineAggregate { /* fields omitted */ }

This is a holding pen which aggregates all edge messages returned from TaskService by its index. We store all these so they can be released at one time into the next set of downstream decendant tasks

Methods

impl PipelineAggregate[src]

pub fn new(task_names: Vec<String>) -> Self[src]

pub fn hold(
    &mut self,
    name: &String,
    msg_id: MsgId,
    msgs: Vec<Msg>
) -> Option<bool>
[src]

Hold this msg for this task_name, msg_id, msg

pub fn remove(&mut self, name: &String, msg_id: &MsgId) -> Option<Vec<Msg>>[src]

Returns all messages for this task_name and msg_id for processing

pub fn clean_msg_id(&mut self, msg_id: &MsgId)[src]

pub fn stats(&mut self) -> HashMap<String, isize>[src]

Trait Implementations

impl Default for PipelineAggregate[src]

impl Debug for PipelineAggregate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,