pub trait AsterRuntimeComponent<S> {
type Output;
// Required method
fn apply(self, builder: AsterRuntimeBuilder<S>) -> Self::Output;
}Expand description
Runtime component adapter used by AsterRuntimeBuilder::component.
Service components can change the builder’s service future type. Registry components keep the current builder type and only add lifecycle descriptors and hooks.
Required Associated Types§
Required Methods§
Sourcefn apply(self, builder: AsterRuntimeBuilder<S>) -> Self::Output
fn apply(self, builder: AsterRuntimeBuilder<S>) -> Self::Output
Applies the component to the runtime builder.