pub struct NodeConfig {
pub dataflow_id: DataflowId,
pub node_id: NodeId,
pub run_config: NodeRunConfig,
pub daemon_communication: Option<DaemonCommunication>,
pub dataflow_descriptor: Value,
pub dynamic: bool,
pub write_events_to: Option<PathBuf>,
pub restart_count: u32,
pub output_routing: Option<BTreeMap<DataId, OutputRouting>>,
}Fields§
§dataflow_id: DataflowId§node_id: NodeId§run_config: NodeRunConfig§daemon_communication: Option<DaemonCommunication>§dataflow_descriptor: Value§dynamic: bool§write_events_to: Option<PathBuf>§restart_count: u32Number of times this node has been restarted. 0 on first run.
output_routing: Option<BTreeMap<DataId, OutputRouting>>Per-output data-plane routing for the startup handshake, computed by the
daemon from the actual placement of the dataflow’s nodes at spawn
time (the descriptor’s deploy section is intent, not placement — label
scheduling can resolve differently).
None means the node was spawned by an older daemon that doesn’t
provide routing; the node then keeps every output on the reliable daemon
path (correct, just without the direct-zenoh fast path).
Trait Implementations§
Source§impl Clone for NodeConfig
impl Clone for NodeConfig
Source§fn clone(&self) -> NodeConfig
fn clone(&self) -> NodeConfig
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 moreSource§impl Debug for NodeConfig
impl Debug for NodeConfig
Source§impl<'de> Deserialize<'de> for NodeConfig
impl<'de> Deserialize<'de> for NodeConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeConfig
impl RefUnwindSafe for NodeConfig
impl Send for NodeConfig
impl Sync for NodeConfig
impl Unpin for NodeConfig
impl UnsafeUnpin for NodeConfig
impl UnwindSafe for NodeConfig
Blanket Implementations§
impl<T> Allocation for T
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