Trait polkadot_overseer::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
.