pub trait LaunchExEx<Node>: Sendwhere
Node: FullNodeComponents,{
// Required method
fn launch(
self,
ctx: ExExContext<Node>,
) -> impl Future<Output = Result<impl Future<Output = Result<(), Report>> + Send, Report>> + Send;
}
Expand description
A trait for launching an ExEx
.
Required Methods§
Object Safety§
This trait is not object safe.
Implementors§
impl<Node, F, Fut, E> LaunchExEx<Node> for F
Implements LaunchExEx
for any closure that takes an ExExContext
and returns a future
resolving to an ExEx
.