pub trait NodeAddOns<N>: Sendwhere
N: FullNodeComponents,{
type Handle: Send + Sync + Clone;
// Required method
fn launch_add_ons(
self,
ctx: AddOnsContext<'_, N>,
) -> impl Future<Output = Result<Self::Handle, Report>> + Send;
}
Expand description
Customizable node add-on types.
Required Associated Types§
Required Methods§
Sourcefn launch_add_ons(
self,
ctx: AddOnsContext<'_, N>,
) -> impl Future<Output = Result<Self::Handle, Report>> + Send
fn launch_add_ons( self, ctx: AddOnsContext<'_, N>, ) -> impl Future<Output = Result<Self::Handle, Report>> + Send
Configures and launches the add-ons.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.