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 strName of the subsystem being spawned.
future: Pin<Box<dyn Future<Output = Result<(), SubsystemError>> + Send>>The task of the subsystem being spawned.