Trait polkadot_node_subsystem::gen::Subsystem
source · pub trait Subsystem<Ctx, E>where
Ctx: SubsystemContext,
E: Error + Send + Sync + 'static + From<OrchestraError>,{
// Required method
fn start(self, ctx: Ctx) -> SpawnedSubsystem<E>;
}
Expand description
Required Methods§
sourcefn start(self, ctx: Ctx) -> SpawnedSubsystem<E>
fn start(self, ctx: Ctx) -> SpawnedSubsystem<E>
Start this Subsystem
and return SpawnedSubsystem
.