Type Alias polkadot_node_subsystem::SpawnedSubsystem
source · pub type SpawnedSubsystem = SpawnedSubsystem<SubsystemError>;
Expand description
Spawned subsystem.
Aliased Type§
struct SpawnedSubsystem {
pub name: &'static str,
pub future: Pin<Box<dyn Future<Output = Result<(), SubsystemError>> + Send>>,
}
Fields§
§name: &'static str
Name of the subsystem being spawned.
future: Pin<Box<dyn Future<Output = Result<(), SubsystemError>> + Send>>
The task of the subsystem being spawned.