Skip to main content

Module spawned

Module spawned 

Source
Expand description

The erased node interface.

SpawnedNode is what lets a Network keep every node it spawned — substrate and JAM alike — in a single registry, while still handing back the concrete type on request.

Downcasting relies on trait upcasting (&dyn SpawnedNode -> &dyn Any), stable since Rust 1.86, which is the workspace MSRV. That’s why there is no as_any() method here.

Enums§

NodeKind
Which flavour of node a SpawnedNode is.

Traits§

SpawnedNode
Behaviour shared by every node zombienet spawns, regardless of what it runs.