pub struct PregelTask {
pub name: String,
pub input: Value,
pub input_channels: Vec<String>,
pub triggers: Vec<String>,
pub id: String,
}Expand description
A task ready for execution in the current super-step.
Fields§
§name: StringName of the node to execute.
input: ValueInput value for this task.
input_channels: Vec<String>Channels this task reads from.
triggers: Vec<String>Channels that triggered this task.
id: StringUnique task ID (deterministic from checkpoint + step + name).
Trait Implementations§
Source§impl Clone for PregelTask
impl Clone for PregelTask
Source§fn clone(&self) -> PregelTask
fn clone(&self) -> PregelTask
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 Freeze for PregelTask
impl RefUnwindSafe for PregelTask
impl Send for PregelTask
impl Sync for PregelTask
impl Unpin for PregelTask
impl UnsafeUnpin for PregelTask
impl UnwindSafe for PregelTask
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