[−][src]Struct tempest::pipeline::PipelineMsgState
This stores the original message id and it's state as moves through a pipeline
Methods
impl PipelineMsgState
[src]
pub fn new(matrix: Vec<(&'static str, &'static str, bool)>) -> Self
[src]
pub fn get(&self, edge: &(String, String)) -> Option<&Vec<(usize, bool)>>
[src]
Returns a list of pending messages for a given edge
pub fn task_visit(&mut self, name: String)
[src]
Marks the task name as visited
pub fn edge_start(&mut self, edge: (String, String), size: usize)
[src]
Marks the edge as being started for processing
pub fn edge_visit(&mut self, edge: &(String, String))
[src]
Marks an edge as visted and marks the task as visited if all task ancestors have also been visted
pub fn task_dead_ends(&mut self, edge: &(String, String), pipeline: &Pipeline)
[src]
A task dead-end occurs when the output of an ancestor edge returns no messages to move into descendant tasks. This does the appropriate cleanup to mark all downstream descendants as visited for a given edge.
pub fn edge_visit_index(
&mut self,
edge: &(String, String),
index: usize
) -> Option<bool>
[src]
&mut self,
edge: &(String, String),
index: usize
) -> Option<bool>
This is called when we ack a message by its index for an edge
pub fn finished(&self) -> bool
[src]
Have all the nodes been visited in the matrix
Trait Implementations
impl Default for PipelineMsgState
[src]
fn default() -> PipelineMsgState
[src]
impl Debug for PipelineMsgState
[src]
Auto Trait Implementations
impl Send for PipelineMsgState
impl Unpin for PipelineMsgState
impl Sync for PipelineMsgState
impl UnwindSafe for PipelineMsgState
impl RefUnwindSafe for PipelineMsgState
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Wfn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut W
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,