pub struct NodeContext { /* private fields */ }Expand description
节点执行上下文:提供一个简单的、基于字符串 key 的类型安全存取接口, 方便在节点之间共享少量辅助数据(如 LLM Provider、计数器等)。
Implementations§
Trait Implementations§
Source§impl Default for NodeContext
impl Default for NodeContext
Source§fn default() -> NodeContext
fn default() -> NodeContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeContext
impl !RefUnwindSafe for NodeContext
impl Send for NodeContext
impl Sync for NodeContext
impl Unpin for NodeContext
impl UnsafeUnpin 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