pub struct InitContext {
pub node_id: String,
pub state_tx: Sender<NodeStateUpdate>,
}Expand description
Context provided to nodes during initialization.
This allows nodes to perform async operations (like probing external resources) before the pipeline starts executing.
Fields§
§node_id: StringThe node’s unique identifier in the pipeline
state_tx: Sender<NodeStateUpdate>Channel to report state changes during initialization
Auto Trait Implementations§
impl Freeze for InitContext
impl RefUnwindSafe for InitContext
impl Send for InitContext
impl Sync for InitContext
impl Unpin for InitContext
impl UnwindSafe for InitContext
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