pub struct NodeContext {
pub state: State,
pub config: ExecutionConfig,
pub step: usize,
}Expand description
Context passed to nodes during execution
Fields§
§state: StateCurrent graph state (read-only view)
config: ExecutionConfigConfiguration for this execution
step: usizeCurrent step number
Implementations§
Source§impl NodeContext
impl NodeContext
Auto Trait Implementations§
impl Freeze for NodeContext
impl RefUnwindSafe for NodeContext
impl Send for NodeContext
impl Sync for NodeContext
impl Unpin for NodeContext
impl UnwindSafe for NodeContext
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