pub struct SuperstepResult<S: State> {
pub task_outputs: Vec<TaskOutput<S>>,
pub bubble_ups: Vec<BubbleUp<S>>,
}Expand description
Result of executing one superstep
Contains the outputs from all tasks executed in a single superstep,
as well as any subgraph propagation events that need to be handled
by the parent PregelLoop.
Fields§
§task_outputs: Vec<TaskOutput<S>>Outputs from each completed task
bubble_ups: Vec<BubbleUp<S>>Subgraph propagation events (interrupts, drains, parent commands) that bubble up from nested subgraph execution.
Implementations§
Source§impl<S: State> SuperstepResult<S>
impl<S: State> SuperstepResult<S>
Sourcepub const fn has_bubble_ups(&self) -> bool
pub const fn has_bubble_ups(&self) -> bool
Check if there are any bubble-up events from subgraph execution
Trait Implementations§
Source§impl<S: Clone + State> Clone for SuperstepResult<S>
impl<S: Clone + State> Clone for SuperstepResult<S>
Source§fn clone(&self) -> SuperstepResult<S>
fn clone(&self) -> SuperstepResult<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<S> Freeze for SuperstepResult<S>
impl<S> RefUnwindSafe for SuperstepResult<S>
impl<S> Send for SuperstepResult<S>
impl<S> Sync for SuperstepResult<S>
impl<S> Unpin for SuperstepResult<S>
impl<S> UnsafeUnpin for SuperstepResult<S>
impl<S> UnwindSafe for SuperstepResult<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more