pub struct PregelExecutableTask {
pub name: String,
pub input: Value,
pub proc: Arc<dyn Runnable>,
pub writes: Vec<(String, Value)>,
pub config: RunnableConfig,
pub triggers: Vec<String>,
pub id: String,
}Expand description
An executable task with its runnable and write buffer.
Fields§
§name: StringName of the node.
input: ValueInput value.
proc: Arc<dyn Runnable>The runnable to execute (node logic + writers).
writes: Vec<(String, Value)>Write buffer: (channel, value) pairs collected during execution.
config: RunnableConfigTask configuration (with CONFIG_KEY_SEND, CONFIG_KEY_READ, etc.).
triggers: Vec<String>Channels that triggered this task.
id: StringUnique task ID.
Auto Trait Implementations§
impl !RefUnwindSafe for PregelExecutableTask
impl !UnwindSafe for PregelExecutableTask
impl Freeze for PregelExecutableTask
impl Send for PregelExecutableTask
impl Sync for PregelExecutableTask
impl Unpin for PregelExecutableTask
impl UnsafeUnpin for PregelExecutableTask
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